-
Notifications
You must be signed in to change notification settings - Fork 107
run test.sh in mingw64 panic! #1197
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
Comments
Try https://github.com/bjorn3/rustc_codegen_cranelift/pull/1195. This PR contains several windows fixes. |
I checkout the windows_fix branch. build fail. Compiling cranelift-bforest v0.76.0 (https://github.com/bytecodealliance/wasmtime.git#9c550fcf) error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied |
Huh, compilation succeeds on CI. |
when could the cranelift run in windows? |
This depends on the program. Some programs stress the backend more, while others the frontend. This project only replaces part of the backend and as such doesn't help much when most of the time is spent in the frontend.
I guess Diesel is rather heavy in the frontend, but I am not sure. How long does
Not sure. I don't use windows myself and wine at least in the version I have doesn't implement an api required by cargo, so I can't easily test it locally. |
I read the Diesel source code and write a new driver to odbc. I find compile very slow is subjected to macro. rust macro is very powerful but waste compiling time. every time modify some words and compile, then waiting about a minute. |
It should save on the time it takes to compile the macro itself. |
ok, thanks very much. |
The |
[mini_core_hello_world : codegen mono items] start
[mini_core_hello_world : codegen mono items] end time: 11.797544ms
thread 'rustc' panicked at 'can't resolve symbol _ZN9mini_core8A_STATIC17h1e90a401893c503aE', C:\Users\robinson.cargo\git\checkouts\wasmtime-41807828cb3a7a7e\9c550fc\cranelift\jit\src\backend.rs:288:21
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceerror: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/bjorn3/rustc_codegen_cranelift/issues/new
note: rustc 1.56.0-nightly (29ef6cf16 2021-08-31) running on x86_64-pc-windows-gnu
note: compiler flags: -Z unstable-options -C debuginfo=2 -C llvm-args=mode=jit -C prefer-dynamic
query stack during panic:
end of query stack
warning: 1 warning emitted
The text was updated successfully, but these errors were encountered: