HowJMay opened issue #4075:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
TODO: upload Wasm file here
Steps to Reproduce
- TODO: first, ...
- TODO: second, ...
- Etc...
Expected Results
successfully built
Actual Results
error[E0658]: use of unstable library feature 'thread_local_const_init' --> crates/runtime/src/traphandlers.rs:390:9 | 390 | thread_local!(static PTR: Cell<(Ptr, bool)> = const { Cell::new((ptr::null(), false)) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #84223 <https://github.com/rust-lang/rust/issues/84223> for more information = note: this error originates in the macro `$crate::__thread_local_inner` (in Nightly builds, run with -Z macro-backtrace for more info) For more information about this error, try `rustc --explain E0658`. error: could not compile `wasmtime-runtime` due to previous error warning: build failed, waiting for other jobs to finish... error: build failed
Versions and Environment
Wasmtime version or commit: branch: release-v0.36.0
Operating system: MacOS
Architecture: ARM64
Extra Info
Anything else you'd like to add?
HowJMay labeled issue #4075:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
TODO: upload Wasm file here
Steps to Reproduce
- TODO: first, ...
- TODO: second, ...
- Etc...
Expected Results
successfully built
Actual Results
error[E0658]: use of unstable library feature 'thread_local_const_init' --> crates/runtime/src/traphandlers.rs:390:9 | 390 | thread_local!(static PTR: Cell<(Ptr, bool)> = const { Cell::new((ptr::null(), false)) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #84223 <https://github.com/rust-lang/rust/issues/84223> for more information = note: this error originates in the macro `$crate::__thread_local_inner` (in Nightly builds, run with -Z macro-backtrace for more info) For more information about this error, try `rustc --explain E0658`. error: could not compile `wasmtime-runtime` due to previous error warning: build failed, waiting for other jobs to finish... error: build failed
Versions and Environment
Wasmtime version or commit: branch: release-v0.36.0
Operating system: MacOS
Architecture: ARM64
Extra Info
Anything else you'd like to add?
cfallin commented on issue #4075:
Hi @HowJMay -- it's likely that you're building with a Rust compiler that's slightly too old.
Can you try
rustup update
and then build again? (This is assuming you installed Rust with rustup.)If that still doesn't work, could you let us know what you see from
rustc --version
?
HowJMay commented on issue #4075:
It works thank you!
HowJMay closed issue #4075:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
TODO: upload Wasm file here
Steps to Reproduce
- TODO: first, ...
- TODO: second, ...
- Etc...
Expected Results
successfully built
Actual Results
error[E0658]: use of unstable library feature 'thread_local_const_init' --> crates/runtime/src/traphandlers.rs:390:9 | 390 | thread_local!(static PTR: Cell<(Ptr, bool)> = const { Cell::new((ptr::null(), false)) }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #84223 <https://github.com/rust-lang/rust/issues/84223> for more information = note: this error originates in the macro `$crate::__thread_local_inner` (in Nightly builds, run with -Z macro-backtrace for more info) For more information about this error, try `rustc --explain E0658`. error: could not compile `wasmtime-runtime` due to previous error warning: build failed, waiting for other jobs to finish... error: build failed
Versions and Environment
Wasmtime version or commit: branch: release-v0.36.0
Operating system: MacOS
Architecture: ARM64
Extra Info
Anything else you'd like to add?
Last updated: Nov 22 2024 at 17:03 UTC