You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rust 1.73 + emscripten 3.1.44 fails if using filesystem api #116655
This should be fixed in Emscripten 3.1.46, see: emscripten-core/emscripten#20123.Edit: this PR didn't help for Rust somehow, see comments below.
Compatibility with Emscripten 3.1.44 and 3.1.45 is addressed in PR rust-lang/libc#3308, which is included in libc 0.2.149. This should be available in (the upcoming) Rust 1.75.0 (see #116527).
I don't think newer emscripten fixed this, or if it was fixed it regressed again. I have emscripten 3.1.48 and the reproducer from the original report above still fails to link with the same undefined symbols.
Building with rustc 1.75 (I tried 1.75.0-beta.5) does work, though.
Indeed, I can confirm that it's still broken on the latest stable version of Rust in combination with Emscripten 3.1.44 or higher. I've updated my previous comment.
Activity
kleisauke commentedon Oct 28, 2023
This should be fixed in Emscripten 3.1.46, see: emscripten-core/emscripten#20123.Edit: this PR didn't help for Rust somehow, see comments below.Compatibility with Emscripten 3.1.44 and 3.1.45 is addressed in PR rust-lang/libc#3308, which is included in libc 0.2.149. This should be available in (the upcoming) Rust 1.75.0 (see #116527).
tari commentedon Dec 6, 2023
I don't think newer emscripten fixed this, or if it was fixed it regressed again. I have emscripten 3.1.48 and the reproducer from the original report above still fails to link with the same undefined symbols.
Building with rustc 1.75 (I tried 1.75.0-beta.5) does work, though.
lonsbio commentedon Dec 14, 2023
Just to add that using
1.75.0-beta.5as advised by @tari was the only way to fix this issue for mekleisauke commentedon Dec 14, 2023
Indeed, I can confirm that it's still broken on the latest stable version of Rust in combination with Emscripten 3.1.44 or higher. I've updated my previous comment.
Details
This is curious, as the above mentioned Emscripten PR is supposed to fix that, at least for C/C++ programs.