Stream: git-wasmtime

Topic: wasmtime / issue #10299 armv6k-nintendo-3ds Support


view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 02:12):

TheMode opened issue #10299:

Feature

Support the Nintendo 3DS through the armv6k-nintendo-3ds target

Benefit

WebAssembly to the best game console ever conceived

Implementation

Compilation is currently complicated due to the rustix lib requirement (even with disabled features). Apparently used for mmap: https://bytecodealliance.zulipchat.com/#narrow/channel/206238-general/topic/Compile.20for.20the.20N3DS/near/502180866

Alternatives

Perhaps a no_std approach? Or be sad.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 02:13):

TheMode edited issue #10299:

Feature

Support the Nintendo 3DS through the armv6k-nintendo-3ds target. Ensure c-api support as well.

Benefit

WebAssembly to the best game console ever conceived

Implementation

Compilation is currently complicated due to the rustix lib requirement (even with disabled features). Apparently used for mmap: https://bytecodealliance.zulipchat.com/#narrow/channel/206238-general/topic/Compile.20for.20the.20N3DS/near/502180866

Alternatives

Perhaps a no_std approach? Or be sad.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 02:50):

alexcrichton added the wasmtime:platform-support label to Issue #10299.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 08:44):

bjorn3 commented on issue #10299:

If you want to use Cranelift as compiler, this is blocked on https://github.com/bytecodealliance/wasmtime/issues/1173. If the Pulley interpreter is enough, the min-platform mode of Wasmtime may already work if you define the couple of functions that min-platform mode needs yourself: https://github.com/bytecodealliance/wasmtime/tree/main/examples/min-platform

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 15:40):

alexcrichton commented on issue #10299:

What's happening here is that this target is cfg(unix) but at the same time is different enough from other unices that our conditional code for unix isn't compiling. If you're interested to test things out changing this conditional to be false for this target might be sufficient to help get things compiling. To address the rustix compilation failures you'd also have to adjust this dependency declaration


Last updated: Feb 28 2025 at 03:10 UTC