$(obj)/core.o: private rustc_objcopy = $(foreach sym,$(redirect-intrinsics),--redefine-sym $(sym)=__rust$(sym)) $(obj)/core.o: private rustc_target_flags = $(core-cfgs) $(obj)/core.o: $(RUST_LIB_SRC)/core/src/lib.rs $(obj)/target.json FORCE ...
121", features = ['rustc-dep-of-std'] } [dev-dependencies] rand = { version = "0.8.5", default-features = false, features = ["alloc"] } 2 changes: 1 addition & 1 deletion 2 library/std/Cargo.toml Original file line numberDiff line numberDiff line change @@ -17,7 +17,7 ...
如果您使用的目标没有通过rustup可用的std二进制发行版(这可能意味着您是在自己构建核心板条箱),并且需要编译器-rt内部函数(即,在生成可执行文件时可能会出现链接器错误: undefined reference to __aeabi_memcpy ),则可以使用此板条箱获取那些内在函数并解决链接器错误。 为此,请将此板条箱添加到要构建的板条箱...
- nothing provides (crate(compiler_builtins/default) >= 0.1.2 with crate(compiler_builtins/default) < 0.2.0) needed by rust-hashbrown+rustc-dep-of-std-devel-0.9.1-1.fc34.noarch If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug st...
# Cargo.toml [dependencies] compiler_builtins = { git = "https://github.com/rust-lang/compiler-builtins" } extern crate compiler_builtins; // ... If you still get an "undefined reference to $INTRINSIC" error after that change, that means that we haven't ported $INTRINSIC to Rust yet...
Most of our Rust-specific overflowing intrinsics currently return (i128, bool), which is not guaranteed to have a stable ABI. Switch to returning the overflow via a mutable parameter and only directly returning the integer result. __rust_i128_mulo now matches the function signature of __mulot...
rust/compiler/rustc_builtin_macros/src/standard_library_imports.rs Lines 49 to 61 in 77a4553 let item = if name == sym::compiler_builtins { // compiler_builtins is a private implementation detail. We only // need to insert it into the crate graph for linking and should not ...
Reported by @TimNN here: I think something in this PR might be broken with regard to whether the f16/f128 builtins are being generated. I have downloaded https://ci-artifacts.rust-lang.org/rustc-builds/80d8270d8488957f62fbf0df7a19dfe596b...
Porting `compiler-rt` intrinsics to Rust. Contribute to rust-lang/compiler-builtins development by creating an account on GitHub.
Update compiler-builtins to 0.1.140 rust-lang/rust#134832 Merged tgross35 added a commit to tgross35/rust that referenced this pull request Dec 27, 2024 Update compiler-builtins to 0.1.140 … 68bd853 Zalathar added a commit to Zalathar/rust that referenced this pull request Dec 28...