mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00

Many of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead. `compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.
9 lines
209 B
Rust
9 lines
209 B
Rust
#![feature(no_core)]
|
|
#![no_core]
|
|
|
|
pub use core::*;
|
|
|
|
// Crate must be brought into scope so it appears in the crate graph for anything that
|
|
// depends on `rustc-std-workspace-core`.
|
|
use compiler_builtins as _;
|