Put back master
feature as default
This commit is contained in:
parent
77b980451d
commit
98c1efd5b6
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -66,9 +66,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./y.sh prepare --only-libcore
|
./y.sh prepare --only-libcore
|
||||||
# TODO: remove --features master when it is back to the default.
|
./y.sh build
|
||||||
./y.sh build --features master
|
|
||||||
# TODO: remove --features master when it is back to the default.
|
|
||||||
|
|
||||||
- name: Set env (part 2)
|
- name: Set env (part 2)
|
||||||
run: |
|
run: |
|
||||||
@ -78,7 +76,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build (part 2)
|
- name: Build (part 2)
|
||||||
run: |
|
run: |
|
||||||
cargo test --features master
|
cargo test
|
||||||
./y.sh clean all
|
./y.sh clean all
|
||||||
|
|
||||||
- name: Prepare dependencies
|
- name: Prepare dependencies
|
||||||
@ -92,8 +90,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
# TODO: remove --features master when it is back to the default.
|
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
|
||||||
./y.sh test --features master --release --clean --build-sysroot ${{ matrix.commands }}
|
|
||||||
|
|
||||||
duplicates:
|
duplicates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
5
.github/workflows/failures.yml
vendored
5
.github/workflows/failures.yml
vendored
@ -21,14 +21,11 @@ jobs:
|
|||||||
libgccjit_version:
|
libgccjit_version:
|
||||||
- gcc: "libgccjit.so"
|
- gcc: "libgccjit.so"
|
||||||
artifacts_branch: "master"
|
artifacts_branch: "master"
|
||||||
# TODO: switch back to --no-default-features in the case of libgccjit 12 when the default is to enable
|
|
||||||
# master again.
|
|
||||||
extra: "--features master"
|
|
||||||
- gcc: "libgccjit_without_int128.so"
|
- gcc: "libgccjit_without_int128.so"
|
||||||
artifacts_branch: "master-without-128bit-integers"
|
artifacts_branch: "master-without-128bit-integers"
|
||||||
extra: "--features master"
|
|
||||||
- gcc: "libgccjit12.so"
|
- gcc: "libgccjit12.so"
|
||||||
artifacts_branch: "gcc12"
|
artifacts_branch: "gcc12"
|
||||||
|
extra: "--no-default-features"
|
||||||
# FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin.
|
# FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin.
|
||||||
# Not sure why it's not found otherwise.
|
# Not sure why it's not found otherwise.
|
||||||
env_extra: "TEST_FLAGS='-Cpanic=abort -Zpanic-abort-tests' GCC_EXEC_PREFIX=/usr/lib/gcc/"
|
env_extra: "TEST_FLAGS='-Cpanic=abort -Zpanic-abort-tests' GCC_EXEC_PREFIX=/usr/lib/gcc/"
|
||||||
|
9
.github/workflows/m68k.yml
vendored
9
.github/workflows/m68k.yml
vendored
@ -91,10 +91,8 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./y.sh prepare --only-libcore --cross
|
./y.sh prepare --only-libcore --cross
|
||||||
# TODO: remove --features master when it is back to the default.
|
./y.sh build --target-triple m68k-unknown-linux-gnu
|
||||||
./y.sh build --target-triple m68k-unknown-linux-gnu --features master
|
CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test
|
||||||
# TODO: remove --features master when it is back to the default.
|
|
||||||
CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test --features master
|
|
||||||
./y.sh clean all
|
./y.sh clean all
|
||||||
|
|
||||||
- name: Prepare dependencies
|
- name: Prepare dependencies
|
||||||
@ -108,5 +106,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
# TODO: remove --features master when it is back to the default.
|
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
|
||||||
./y.sh test --release --features master --clean --build-sysroot ${{ matrix.commands }}
|
|
||||||
|
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -53,10 +53,8 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./y.sh prepare --only-libcore
|
./y.sh prepare --only-libcore
|
||||||
# TODO: remove --features master when it is back to the default.
|
EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot
|
||||||
EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot --features master
|
cargo test
|
||||||
# TODO: remove --features master when it is back to the default.
|
|
||||||
cargo test --features master
|
|
||||||
./y.sh clean all
|
./y.sh clean all
|
||||||
|
|
||||||
- name: Prepare dependencies
|
- name: Prepare dependencies
|
||||||
@ -72,5 +70,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
# TODO: remove --features master when it is back to the default.
|
EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }}
|
||||||
EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }} --features master
|
|
||||||
|
9
.github/workflows/stdarch.yml
vendored
9
.github/workflows/stdarch.yml
vendored
@ -67,10 +67,8 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./y.sh prepare --only-libcore
|
./y.sh prepare --only-libcore
|
||||||
# TODO: remove `--features master` when it is back to the default.
|
./y.sh build --release --release-sysroot
|
||||||
./y.sh build --release --release-sysroot --features master
|
cargo test
|
||||||
# TODO: remove --features master when it is back to the default.
|
|
||||||
cargo test --features master
|
|
||||||
|
|
||||||
- name: Clean
|
- name: Clean
|
||||||
if: ${{ !matrix.cargo_runner }}
|
if: ${{ !matrix.cargo_runner }}
|
||||||
@ -86,8 +84,7 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: ${{ !matrix.cargo_runner }}
|
if: ${{ !matrix.cargo_runner }}
|
||||||
run: |
|
run: |
|
||||||
# TODO: remove `--features master` when it is back to the default.
|
./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore
|
||||||
./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore --features master
|
|
||||||
|
|
||||||
- name: Run stdarch tests
|
- name: Run stdarch tests
|
||||||
if: ${{ !matrix.cargo_runner }}
|
if: ${{ !matrix.cargo_runner }}
|
||||||
|
@ -19,6 +19,7 @@ harness = false
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
master = ["gccjit/master"]
|
master = ["gccjit/master"]
|
||||||
|
default = ["master"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gccjit = { git = "https://github.com/antoyo/gccjit.rs" }
|
gccjit = { git = "https://github.com/antoyo/gccjit.rs" }
|
||||||
|
@ -69,13 +69,13 @@ Then you can run commands like this:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./y.sh prepare # download and patch sysroot src and install hyperfine for benchmarking
|
$ ./y.sh prepare # download and patch sysroot src and install hyperfine for benchmarking
|
||||||
$ ./y.sh build --release --features master
|
$ ./y.sh build --release
|
||||||
```
|
```
|
||||||
|
|
||||||
To run the tests:
|
To run the tests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./y.sh test --release --features master
|
$ ./y.sh test --release
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
Loading…
Reference in New Issue
Block a user