-
Notifications
You must be signed in to change notification settings - Fork 101
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
More testing #247
Comments
Does anybody know of a rust program which doesn't use threads? I want to test compiling it using cg_clif. |
(on mobile and unable to confirm if all of these don't use threads) |
Thanks @memoryruins! Will try them. |
|
@memoryruins Got all but the thread requiring programs working 🎉 |
https://crates.io/crates/c2-chacha doesn't compile (used in I also got Everything else for https://github.com/jyn514/rcc works well, great work! |
Other misc projects:
|
Thanks for testing.
That is https://github.com/bjorn3/rustc_codegen_cranelift/issues/669. You can edit the Cargo.toml of c2-chacha to not passthrough the simd feature to one of its dependencies as workaround.
No it doesnt. In debug mode cg_clif tries to write the clif ir of every compiled function to target/out/clif in the source dir for cg_clif. If the filename is too big, it just ignores it. You can build cg_clif in release mode to prevent writing of clif ir. That also makes it a lot faster. You will need to set the
Known issue. faerie (the object file writer) doesnt implement something. |
|
$ uname -a
Linux joshua-ThinkPad 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
I hadnt tested any of them yet. Thanks for testing |
|
I can't reproduce the
|
Not sure what the issue is, it happens every time for me. I even tried rebuilding I'm running |
I am able to reproduce it by building For now you could use |
Yup installing in debug mode made it work. |
Opened https://github.com/bjorn3/rustc_codegen_cranelift/issues/746 for this. |
|
Pretty much all applications mentioned here now work. Only |
Going to close this as I don't think I have seen a misconpilation in quite a while. Pretty much all programs cg_clif can't compile right now are due to missing features rather than bugs in cg_clif. If anyone finds a program cg_clif can't handle please do report it as a new issue. |
hashbrown assertion failure due to Constants not correctly aligned #348, because debug assertions are disabledworks as of a24a956)works when patching ctrl+c handler, which uses threads, away(TLS support #784))requires threads(TLS support #784))requires cpuid intrinsic(faked no cpuid support by cpu) andsimd(implemented enough in Simd emulation #650))blocked on Support #[rustc_args_required_const(...)] for simd intrinsics #666, requires threads)requires threads(TLS support #784), kind of works, but too slow to be usable)requires(3fcd540))saturating_{add,sub}
for signed integersrequires(3fcd540), all but the wgpu examples tested, my graphics driver doesn't have vulkan/metal/dx* support)saturating_{add,sub}
for signed integersThe text was updated successfully, but these errors were encountered: