MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / with_default_calling_convention

Method with_default_calling_convention

cranelift/reader/src/parser.rs:461–466  ·  view source on GitHub ↗

Modify the default calling convention; returns a new parser with the changed calling convention.

(self, default_calling_convention: CallConv)

Source from the content-addressed store, hash-verified

459 /// Modify the default calling convention; returns a new parser with the changed calling
460 /// convention.
461 pub fn with_default_calling_convention(self, default_calling_convention: CallConv) -> Self {
462 Self {
463 default_calling_convention,
464 ..self
465 }
466 }
467
468 // Consume the current lookahead token and return it.
469 fn consume(&mut self) -> Token<'a> {

Callers 2

parse_testFunction · 0.80

Calls

no outgoing calls

Tested by 1