File tree 2 files changed +6
-9
lines changed
src/bootstrap/src/core/build_steps
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -1936,10 +1936,8 @@ unsafe impl<T: ?Sized> PinCoerceUnsized for *mut T {}
1936
1936
#[ stable( feature = "pin_macro" , since = "1.68.0" ) ]
1937
1937
#[ rustc_macro_transparency = "semitransparent" ]
1938
1938
#[ allow_internal_unstable( super_let) ]
1939
- pub macro pin ( $value: expr $( , ) ?) {
1940
- {
1941
- super let mut pinned = $value;
1942
- // SAFETY: The value is pinned: it is the local above which cannot be named outside this macro.
1943
- unsafe { $crate:: pin:: Pin :: new_unchecked ( & mut pinned) }
1944
- }
1945
- }
1939
+ pub macro pin ( $value: expr $( , ) ?) { {
1940
+ let mut pinned = $value;
1941
+ // SAFETY: The value is pinned: it is the local above which cannot be named outside this macro.
1942
+ unsafe { $crate:: pin:: Pin :: new_unchecked ( & mut pinned) }
1943
+ } }
Original file line number Diff line number Diff line change @@ -1230,8 +1230,7 @@ fn supported_sanitizers(
1230
1230
. iter ( )
1231
1231
. map ( move |c| SanitizerRuntime {
1232
1232
cmake_target : format ! ( "clang_rt.{c}_{os}_dynamic" ) ,
1233
- path : out_dir
1234
- . join ( format ! ( "build/lib/darwin/libclang_rt.{c}_{os}_dynamic.dylib" ) ) ,
1233
+ path : out_dir. join ( format ! ( "build/lib/darwin/libclang_rt.{c}_{os}_dynamic.dylib" ) ) ,
1235
1234
name : format ! ( "librustc-{channel}_rt.{c}.dylib" ) ,
1236
1235
} )
1237
1236
. collect ( )
You can’t perform that action at this time.
0 commit comments