Skip to content
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

Still running into issues trying to compile threaded example #1132

Open
felipellrocha opened this issue May 8, 2022 · 0 comments
Open

Still running into issues trying to compile threaded example #1132

felipellrocha opened this issue May 8, 2022 · 0 comments

Comments

@felipellrocha
Copy link

🐛 Bug description

Hi. Although it seems like this issue has been closed a while ago, , I still haven't been able to solve it on my machine.

I'm trying to compile my wasm program and I want to utilize threads. When I compile using the instructions found here I get the following error:

= note: rust-lld: error: mutable global exported but 'mutable-globals' feature not present in inputs: `__tls_base`. Use --no-check-features to suppress.
rust-lld: error: mutable global exported but 'mutable-globals' feature not present in inputs: `__tls_size`. Use --no-check-features to suppress.
rust-lld: error: mutable global exported but 'mutable-globals' feature not present in inputs: `__tls_align`. Use --no-check-features to suppress.

The previous ticket claims that this issue was fixed on version 2.70 but I am currently on version 2.79 to no avail. I tried all the workarounds mentioned in the thread.

🤔 Expected Behavior

My binary should have compiled and I should have been able to use threads.

🌍 Your environment

Include the relevant details of your environment.
wasm-pack version: wasm-pack 0.10.2-alpha
rustc version: rustc 1.62.0-nightly (ea92b0838 2022-05-07)

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

No branches or pull requests

1 participant