This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
library/alloc/src/collections/binary_heap
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -440,10 +440,7 @@ impl<T: Ord> BinaryHeap<T> {
440440 /// heap.push(4);
441441 /// ```
442442 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
443- #[ rustc_const_stable(
444- feature = "const_binary_heap_constructor" ,
445- since = "1.80.0"
446- ) ]
443+ #[ rustc_const_stable( feature = "const_binary_heap_constructor" , since = "1.80.0" ) ]
447444 #[ must_use]
448445 pub const fn new ( ) -> BinaryHeap < T > {
449446 BinaryHeap { data : vec ! [ ] }
Original file line number Diff line number Diff line change @@ -1137,8 +1137,13 @@ pub fn rustc_cargo_env(
11371137 }
11381138
11391139 // Enable rustc's env var for `rust-lld` when requested.
1140- if builder. config . lld_enabled {
1140+ if builder. config . lld_enabled
1141+ && ( builder. config . channel == "dev" || builder. config . channel == "nightly" )
1142+ {
1143+ eprintln ! ( "status: CFG_USE_SELF_CONTAINED_LINKER is enabled" ) ;
11411144 cargo. env ( "CFG_USE_SELF_CONTAINED_LINKER" , "1" ) ;
1145+ } else {
1146+ eprintln ! ( "status: CFG_USE_SELF_CONTAINED_LINKER is disabled" ) ;
11421147 }
11431148
11441149 if builder. config . rust_verify_llvm_ir {
You can’t perform that action at this time.
0 commit comments