Skip to content

Commit ec85aa2

Browse files
committed
cleanup
1 parent 3633870 commit ec85aa2

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.github/workflows/expensive.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
uses: Swatinem/rust-cache@v1
3030

3131
- name: Build
32-
run: cargo test --workspace --all-features --no-run --locked -- --ignored
32+
run: cargo test --workspace --features solc-backend --no-run --locked -- --ignored
3333
- name: Run expensive tests
3434
id: expensive_tests
35-
run: cargo test --workspace --all-features --verbose -- --ignored
35+
run: cargo test --workspace --features solc-backend --verbose -- --ignored
3636
- name: Report
3737
if: failure() && steps.expensive_tests.outcome == 'failure'
3838
run: |

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ jobs:
121121
- name: Cache Dependencies
122122
uses: Swatinem/rust-cache@v1
123123
- name: Build
124-
run: cargo test --workspace --all-features --no-run --locked
124+
run: cargo test --workspace --features solc-backend --no-run --locked
125125
- name: Run tests
126-
run: cargo test --workspace --all-features --verbose
126+
run: cargo test --workspace --features solc-backend --verbose
127127

128128
wasm-test:
129129
runs-on: ubuntu-latest
@@ -179,7 +179,7 @@ jobs:
179179
toolchain: stable
180180
override: true
181181
- name: Build
182-
run: cargo build --all-features --release && strip target/release/fe && mv target/release/fe target/release/${{ matrix.BIN_FILE }}
182+
run: cargo build --features solc-backend --release && strip target/release/fe && mv target/release/fe target/release/${{ matrix.BIN_FILE }}
183183
- name: Release
184184
uses: softprops/action-gh-release@v1
185185
with:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ docker-wasm-test:
7373

7474
.PHONY: coverage
7575
coverage:
76-
cargo tarpaulin --workspace --all-features --verbose --timeout 120 --exclude-files 'tests/*' --exclude-files 'main.rs' --out xml html -- --skip differential::
76+
cargo tarpaulin --workspace --features solc-backend --verbose --timeout 120 --exclude-files 'tests/*' --exclude-files 'main.rs' --out xml html -- --skip differential::
7777

7878
.PHONY: clippy
7979
clippy:
80-
cargo clippy --workspace --all-targets --all-features -- -D warnings -A clippy::upper-case-acronyms -A clippy::large-enum-variant -W clippy::redundant_closure_for_method_calls
80+
cargo clippy --workspace --all-targets --features solc-backend -- -D warnings -A clippy::upper-case-acronyms -A clippy::large-enum-variant -W clippy::redundant_closure_for_method_calls
8181

8282
.PHONY: rustfmt
8383
rustfmt:

crates/fv/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1+
#![cfg(feature = "kevm-backend")]
12
use fe_yulgen::Db;
23
use std::path::Path;
34
use std::process::Command;
45
use std::{env, fs};
56

67
const SPECS_DIR: &str = "tests/specs/fe/";
78

8-
#[cfg(feature = "kevm-backend")]
99
pub fn kevm_path() -> String {
1010
env::var("KEVM_PATH").expect("`KEVM_PATH` not set")
1111
}
1212

13-
#[cfg(feature = "kevm-backend")]
1413
pub fn run_spec(name: &str, src_path: &str, src: &str, spec: &str) -> Result<(), String> {
1514
let kevm_path = kevm_path();
1615

0 commit comments

Comments
 (0)