File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ TARGET=$(rustc --version --verbose | grep "^host:" | cut -d ' ' -f 2)
40
40
SYSROOT=$( rustc --print sysroot)
41
41
LIBDIR=$SYSROOT /lib/rustlib/$TARGET /lib
42
42
# macOS does not have a useful readlink/realpath so we have to use Python instead...
43
- MIRIDIR=$( dirname " $( python -c ' import os, sys; print(os.path.realpath(sys.argv[1]))' " $0 " ) " )
43
+ MIRIDIR=$( dirname " $( python3 -c ' import os, sys; print(os.path.realpath(sys.argv[1]))' " $0 " ) " )
44
44
if ! test -d " $LIBDIR " ; then
45
45
echo " Something went wrong determining the library dir."
46
46
echo " I got $LIBDIR but that does not exist."
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ use rustc_span::symbol::{sym, Symbol};
28
28
use rustc_target:: abi:: Size ;
29
29
use rustc_target:: spec:: abi:: Abi ;
30
30
31
- use crate :: { * , shims:: posix:: FileHandler } ;
31
+ use crate :: { shims:: posix:: FileHandler , * } ;
32
32
33
33
// Some global facts about the emulated machine.
34
34
pub const PAGE_SIZE : u64 = 4 * 1024 ; // FIXME: adjust to target architecture
You can’t perform that action at this time.
0 commit comments