File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112112 - run :
113113 name : Copy a working version of crt2.o into the rust toolchain
114114 command : |
115- export CRT2="/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib. crt2.o"
115+ export CRT2="/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/ crt2.o"
116116 sudo mv $CRT2 "$CRT2.bak"
117117 sudo cp /usr/x86_64-w64-mingw32/lib/crt2.o $CRT2
118118
Original file line number Diff line number Diff line change 11Steps:
2- sudo apt install mingw-w64
3-
42 rustup toolchain install stable
53
64 rustup default stable
75
6+ sudo apt install mingw-w64
7+
88 rustup toolchain install stable-x86_64-pc-windows-gnu
99
1010 rustup component add rust-std --target=x86_64-pc-windows-gnu
1111
12- export CRT2="/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib. crt2.o"
12+ export CRT2="/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/ crt2.o"
1313 sudo mv $CRT2 "$CRT2.bak"
1414 sudo cp /usr/x86_64-w64-mingw32/lib/crt2.o $CRT2
1515
You can’t perform that action at this time.
0 commit comments