//! [`compiler_builtins`]: https://github.com/rust-lang/compiler-builtins //! [`compiler-rt`]: https://compiler-rt.llvm.org/ #![feature(compiler_builtins)] #![compiler_builtins] #![no_builtins] #![no_std] macro_
如果您使用的目标没有通过rustup可用的std二进制发行版(这可能意味着您是在自己构建核心板条箱),并且需要编译器-rt内部函数(即,在生成可执行文件时可能会出现链接器错误: undefined reference to __aeabi_memcpy ),则可以使用此板条箱获取那些内在函数并解决链接器错误。 为此,请将此板条箱添加到要构建的板条箱...
libm: a Rust implementation of C math libraries, used to provide implementations in ocre. More details are at compiler-builtins/README.md and libm/README.md. For instructions on contributing, see CONTRIBUTING.md. License libm may be used under the MIT License compiler-builtins may be used...
- 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...
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 ...
145", features = ['rustc-dep-of-std', 'no-f16-f128'] } -compiler_builtins = { version = "=0.1.146", features = ['rustc-dep-of-std'] } +compiler_builtins = { version = "=0.1.146", features = ['rustc-dep-of-std', 'no-f16-f128'] } [dev-dependencies] rand = { ...
Porting `compiler-rt` intrinsics to Rust. Contribute to rust-lang/compiler-builtins development by creating an account on GitHub.
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...
libc = { version = "0.2.74", default-features = false, features = ['rustc-dep-of-std'] } compiler_builtins = { version = "0.1.32" } compiler_builtins = { version = "0.1.35" } profiler_builtins = { path = "../profiler_builtins", optional = true } unwind = { path = "...