This repository was archived by the owner on Oct 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
test: make tests work on more targets #11
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.