Skip to content

Commit 32873d5

Browse files
change in Cargo.toml to avoid __rust_probestack issue
1 parent 3350d0e commit 32873d5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/codecov.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
name: Test-codecov
1212
env:
13-
RUSTFLAGS: -C instrument-coverage -Clink-arg=-lgcc_s
13+
RUSTFLAGS: -C instrument-coverage
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
@@ -23,20 +23,19 @@ jobs:
2323
go-version: '1.20'
2424
- uses: actions-rs/toolchain@v1
2525
with:
26-
profile: minimal
27-
toolchain: nightly
26+
profile: default
27+
toolchain: stable
2828
override: true
2929
components: llvm-tools-preview
3030
- uses: actions-rs/cargo@v1
3131
continue-on-error: true
3232
- run: |
33-
cargo install cargo-llvm-cov;
3433
cargo install grcov;
3534
cargo test --all-features;
3635
cargo test discv5_echo -- --ignored;
3736
cargo test default_echo -- --ignored;
3837
mkdir /tmp/cov;
39-
cargo llvm-cov --all-features --lcov --output-path /tmp/cov/tests.lcov;
38+
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
4039
- uses: codecov/codecov-action@v3
4140
with:
4241
token: ${{ secrets.CODECOV_TOKEN }}

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ members = [
44
"waku-bindings",
55
"waku-sys",
66
"examples/basic"
7-
]
7+
]
8+
9+
[dependencies]
10+
compiler_builtins = { version = "0.1", features = ["mem"] }

0 commit comments

Comments
 (0)