rustc_codegen_cranelift
                                
                                 rustc_codegen_cranelift copied to clipboard
                                
                                    rustc_codegen_cranelift copied to clipboard
                            
                            
                            
                        Cranelift based backend for rustc
code from rustc `./src/test/ui/abi/rustcall-generic.rs` ````rust // revisions: normal opt // check-pass //[opt] compile-flags: -Zmir-opt-level=3 #![feature(unboxed_closures)] extern "rust-call" fn foo(_: T) {} fn main() { foo(()); foo((1, 2)); } ```` ````...
This is kind of a weird one, it looks like it might be a rustc problem but I was unable to reproduce it with standalone rustc :| code from `./src/test/ui/type-alias-impl-trait/issue-72793.rs`...
It is more stable than wall-time.
Same installation instructions. Rust compiler: nightly 1.63 Mac OS Version: 12.4 ``` /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/sivaram.konanki/Projects/rustc_codegen_cranelift/build_sysroot/target/x86_64-apple-darwin/release/deps/liblibc-ed5a7914adca68ac.rlib(lib.rmeta) has no symbols Compiling alloc v0.0.0 (/Projects/rustc_codegen_cranelift/build_sysroot/sysroot_src/library/alloc) Compiling cfg-if v0.1.10 Compiling adler v1.0.2 Compiling memchr...
If built with `rustc_codegen_cranelif`'s Cargo wrapper, [wasmtime's "Hello world"](https://docs.wasmtime.dev/lang-rust.html#hello-world) (with `wasmtime = "0.36.0"`) outputs: ``` Error: compilation settings are not compatible with the native host Caused by: compilation setting "has_sse3"...
This will probably require adding new simd intrinsics.
https://rust-lang.zulipchat.com/#narrow/stream/257879-project-portable-simd/topic/Meeting.202021-05-24/near/240116415 cc @workingjubilee
https://github.com/phil-opp/blog_os/ * [x] Support -Zbuild-std (https://github.com/bjorn3/rustc_codegen_cranelift/issues/1207, fixed by https://github.com/bjorn3/rustc_codegen_cranelift/pull/1225) * [x] Use elf as object file format for targets using x86_64-unknown-none as llvm target (https://github.com/bytecodealliance/target-lexicon/pull/108, 7292fa2a90da9e8b1a434677774f26ced868d0d8) * [ ] ~~Support...
When compiling a project that depends on [aes](https://docs.rs/aes/latest/aes/), I get these warnings: ```rust warning: unsupported llvm intrinsic llvm.x86.aesni.aesenc; replacing with trap warning: unsupported llvm intrinsic llvm.x86.aesni.aesimc; replacing with trap warning:...
This seems to improve build times on the rustc benchmark suite by a considerable amount. Likely due to having to link less code. In addition cg_clif as distributed with rustc...