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

Function parse_as_imm64

cranelift/reader/src/parser.rs:3592–3594  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

3590 #[test]
3591 fn i64_as_hex() {
3592 fn parse_as_imm64(text: &str) -> ParseResult<Imm64> {
3593 Parser::new(text).match_imm64("unable to parse Imm64")
3594 }
3595
3596 assert_eq!(
3597 parse_as_imm64("0x8000000000000000").unwrap(),

Callers

nothing calls this directly

Calls 2

match_imm64Method · 0.80
newFunction · 0.50

Tested by

no test coverage detected