File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101
102102 - name : Run y.sh cargo build
103103 run : |
104- ./y.sh cargo build --manifest-path tests/hello-world/Cargo.toml
104+ CARGO_PROFILE_DEV_LTO=no ./y.sh cargo build --manifest-path tests/hello-world/Cargo.toml
105105
106106 - name : Clean
107107 run : |
Original file line number Diff line number Diff line change 8383 run : |
8484 ./y.sh prepare --only-libcore --cross
8585 ./y.sh build --sysroot --target-triple m68k-unknown-linux-gnu --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
86- CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ./y.sh cargo build -Zjson-target-spec --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
86+ CARGO_PROFILE_DEV_LTO=no CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ./y.sh cargo build -Zjson-target-spec --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
8787 ./y.sh clean all
8888
8989 - name : Build
@@ -110,7 +110,7 @@ jobs:
110110
111111 vm_dir=$(pwd)/vm
112112 cd tests/hello-world
113- CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo build --target m68k-unknown-linux-gnu
113+ CARGO_PROFILE_DEV_LTO=no CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo build --target m68k-unknown-linux-gnu
114114 sudo cp target/m68k-unknown-linux-gnu/debug/hello_world $vm_dir/home/
115115 sudo chroot $vm_dir qemu-m68k-static /home/hello_world > hello_world_stdout
116116 expected_output="40"
You can’t perform that action at this time.
0 commit comments