-
Notifications
You must be signed in to change notification settings - Fork 21
test: make tests work on more targets #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
Signed-off-by: Henry Gressmann <[email protected]>
FYI, still having trouble invoking tests on Rpi4 armv7. $ cargo test
...
Compiling wat v1.0.71
Compiling tinywasm-root v0.0.0 (/home/davidr/workspace/tinywasm)
error: couldn't read examples/./rust/out/tinywasm.wasm: No such file or directory (os error 2)
--> examples/wasm-rust.rs:57:29
|
57 | const TINYWASM: &[u8] = include_bytes!("./rust/out/tinywasm.wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read examples/./rust/out/hello.wasm: No such file or directory (os error 2)
--> examples/wasm-rust.rs:79:31
|
79 | const HELLO_WASM: &[u8] = include_bytes!("./rust/out/hello.wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read examples/./rust/out/print.wasm: No such file or directory (os error 2)
--> examples/wasm-rust.rs:109:31
|
109 | const HELLO_WASM: &[u8] = include_bytes!("./rust/out/print.wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read examples/./rust/out/fibonacci.wasm: No such file or directory (os error 2)
--> examples/wasm-rust.rs:131:35
|
131 | const FIBONACCI_WASM: &[u8] = include_bytes!("./rust/out/fibonacci.wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `tinywasm-root` (example "wasm-rust") due to 4 previous errors
warning: build failed, waiting for other jobs to finish... |
@drauschenbach There's an explanation on what's required for these examples to run at the top of the file: tinywasm/examples/wasm-rust.rs Lines 4 to 19 in 0302008
|
It's fixed now. |
Uh oh!
There was an error while loading. Please reload this page.