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
git clone https://github.com./bjorn3/rustc_codegen_cranelift (may need to switch to commit 598f0909568a51de8a2d1148f55a644fd8dffad0)
https://github.com./bjorn3/rustc_codegen_cranelift/issues/1248 is the tracking issue for AArch64 support under macOS. TLS is not the only thing unimplemented. bytecodealliance/wasmtime#5544 is another one which will cause a linker warning and dynamic linker crash until fixed. In addition the hack I use to implement variadic arguments without Cranelift support works on basically every platform except AArch64 macOS as Apple decided to change their ABI compared to Arm's Aapcs such that it doesn't work.
Build on commit 598f090.
rustc
versionCurrent error output
Backtrace
Reproduce steps
mkdir ~/.toolchain && cd ~/.toolchain
git clone https://github.com./bjorn3/rustc_codegen_cranelift
(may need to switch to commit598f0909568a51de8a2d1148f55a644fd8dffad0
)cd rustc_codegen_cranelift/
./y.rs prepare
./test.sh
Additional Information
Seems like it should be reported to upstream: https://github.com./bytecodealliance/wasmtime/tree/main/cranelift. Panic happened here:
https://github.com./bytecodealliance/wasmtime/blob/69cd0a6b1a78c9c793b549256d76c879b48cb3db/cranelift/codegen/src/machinst/lower.rs#L753
The text was updated successfully, but these errors were encountered: