File tree Expand file tree Collapse file tree 7 files changed +16
-30
lines changed Expand file tree Collapse file tree 7 files changed +16
-30
lines changed Original file line number Diff line number Diff line change 6666 - name : Build
6767 run : |
6868 ./y.sh prepare --only-libcore
69- # TODO: remove --features master when it is back to the default.
70- ./y.sh build --features master
71- # TODO: remove --features master when it is back to the default.
69+ ./y.sh build
7270
7371 - name : Set env (part 2)
7472 run : |
7876
7977 - name : Build (part 2)
8078 run : |
81- cargo test --features master
79+ cargo test
8280 ./y.sh clean all
8381
8482 - name : Prepare dependencies
9290
9391 - name : Run tests
9492 run : |
95- # TODO: remove --features master when it is back to the default.
96- ./y.sh test --features master --release --clean --build-sysroot ${{ matrix.commands }}
93+ ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
9794
9895 duplicates :
9996 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -21,14 +21,11 @@ jobs:
2121 libgccjit_version :
2222 - gcc : " libgccjit.so"
2323 artifacts_branch : " master"
24- # TODO: switch back to --no-default-features in the case of libgccjit 12 when the default is to enable
25- # master again.
26- extra : " --features master"
2724 - gcc : " libgccjit_without_int128.so"
2825 artifacts_branch : " master-without-128bit-integers"
29- extra : " --features master"
3026 - gcc : " libgccjit12.so"
3127 artifacts_branch : " gcc12"
28+ extra : " --no-default-features"
3229 # FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin.
3330 # Not sure why it's not found otherwise.
3431 env_extra : " TEST_FLAGS='-Cpanic=abort -Zpanic-abort-tests' GCC_EXEC_PREFIX=/usr/lib/gcc/"
Original file line number Diff line number Diff line change 9191 - name : Build
9292 run : |
9393 ./y.sh prepare --only-libcore --cross
94- # TODO: remove --features master when it is back to the default.
95- ./y.sh build --target-triple m68k-unknown-linux-gnu --features master
96- # TODO: remove --features master when it is back to the default.
97- CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test --features master
94+ ./y.sh build --target-triple m68k-unknown-linux-gnu
95+ CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test
9896 ./y.sh clean all
9997
10098 - name : Prepare dependencies
@@ -108,5 +106,4 @@ jobs:
108106
109107 - name : Run tests
110108 run : |
111- # TODO: remove --features master when it is back to the default.
112- ./y.sh test --release --features master --clean --build-sysroot ${{ matrix.commands }}
109+ ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
Original file line number Diff line number Diff line change 5353 - name : Build
5454 run : |
5555 ./y.sh prepare --only-libcore
56- # TODO: remove --features master when it is back to the default.
57- EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot --features master
58- # TODO: remove --features master when it is back to the default.
59- cargo test --features master
56+ EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot
57+ cargo test
6058 ./y.sh clean all
6159
6260 - name : Prepare dependencies
7270
7371 - name : Run tests
7472 run : |
75- # TODO: remove --features master when it is back to the default.
76- EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }} --features master
73+ EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }}
Original file line number Diff line number Diff line change 6767 - name : Build
6868 run : |
6969 ./y.sh prepare --only-libcore
70- # TODO: remove `--features master` when it is back to the default.
71- ./y.sh build --release --release-sysroot --features master
72- # TODO: remove --features master when it is back to the default.
73- cargo test --features master
70+ ./y.sh build --release --release-sysroot
71+ cargo test
7472
7573 - name : Clean
7674 if : ${{ !matrix.cargo_runner }}
8684 - name : Run tests
8785 if : ${{ !matrix.cargo_runner }}
8886 run : |
89- # TODO: remove `--features master` when it is back to the default.
90- ./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore --features master
87+ ./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore
9188
9289 - name : Run stdarch tests
9390 if : ${{ !matrix.cargo_runner }}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ harness = false
1919
2020[features ]
2121master = [" gccjit/master" ]
22+ default = [" master" ]
2223
2324[dependencies ]
2425gccjit = { git = " https://github.com/antoyo/gccjit.rs" }
Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ Then you can run commands like this:
6969
7070``` bash
7171$ ./y.sh prepare # download and patch sysroot src and install hyperfine for benchmarking
72- $ ./y.sh build --release --features master
72+ $ ./y.sh build --release
7373```
7474
7575To run the tests:
7676
7777``` bash
78- $ ./y.sh test --release --features master
78+ $ ./y.sh test --release
7979```
8080
8181## Usage
You can’t perform that action at this time.
0 commit comments