MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getRustMirView

Function getRustMirView

static/components.ts:663–669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

661
662/** Get an empty rust mir view component. */
663export function getRustMirView(): ComponentConfig<typeof RUST_MIR_VIEW_COMPONENT_NAME> {
664 return {
665 type: 'component',
666 componentName: RUST_MIR_VIEW_COMPONENT_NAME,
667 componentState: {},
668 };
669}
670
671/** Get a rust mir view with the given configuration. */
672export function getRustMirViewWith(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected