Skip to content

Fix #880 Rust template code link errors - #881

Merged
aduros merged 3 commits into
aduros:mainfrom
majaha:rust_link_errors
Aug 10, 2026
Merged

aduros merged 3 commits into
aduros:mainfrom
majaha:rust_link_errors

Conversation

@majaha

@majaha majaha commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Fixes #880 by adding #[link(wasm_import_module = "env")] to the externs.

Also included: make it possible to call diskr() and diskw() from safe code.

majaha added 3 commits August 9, 2026 05:19
Fixes the linking errors in the Rust example in recent versions of the Rust compiler by adding:
`#[link(wasm_import_module = "env")]`
to the extern block.

Also, consolidates most of the externs into a single block.
@majaha majaha changed the title Fix #880 Rust skeleton project link errors Fix #880 Rust template code link errors Aug 9, 2026
@aduros

aduros commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Thanks very much!

@aduros
aduros merged commit 746c3fd into aduros:main Aug 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rust-lld: undefined symbol: blit

2 participants