Skip to main content

nanvm_harness/gen.expected/
entry.rs

1// Expectation of `nanvm/harness/fixtures/entry.mjs`, generated by `fjs/nanvm/expected`. Do not edit: change the fixture and regenerate.
2
3use nanvm_lib::vm::unstable::{f64_any, string_any, string_key};
4use nanvm_lib::vm::{Any, IVm, Nullish, ToAny, ToArray, ToObject};
5
6#[rustfmt::skip]
7#[allow(clippy::if_same_then_else)]
8pub fn module<A: IVm>(_runtime: Any<A>) -> Result<Any<A>, Any<A>> {
9    Ok([(string_key("default"), [f64_any(0x3ff0000000000000), f64_any(0x4008000000000000), Nullish::Undefined.to_any(), Nullish::Undefined.to_any(), f64_any(0x4020000000000000), f64_any(0x4020000000000000), Nullish::Undefined.to_any(), Nullish::Undefined.to_any(), string_any("a"), Nullish::Undefined.to_any(), Nullish::Undefined.to_any(), f64_any(0x4000000000000000), string_any("function"), f64_any(0x4022000000000000), f64_any(0x4014000000000000), Nullish::Undefined.to_any(), [Nullish::Undefined.to_any(), Nullish::Undefined.to_any()].to_array().to_any(), f64_any(0x0000000000000000), [f64_any(0x3ff0000000000000), Nullish::Undefined.to_any(), f64_any(0x4008000000000000)].to_array().to_any(), true.to_any(), true.to_any(), false.to_any(), true.to_any(), false.to_any(), true.to_any(), false.to_any(), f64_any(0x4000000000000000), string_any("function"), true.to_any(), false.to_any(), [f64_any(0x4000000000000000), f64_any(0x3ff0000000000000)].to_array().to_any()].to_array().to_any())].to_object().to_any())
10}
11
12#[rustfmt::skip]
13pub const JSON: Option<&[u8]> = None;
14pub const THROWS: bool = false;