Skip to content

Commit f046e52

Browse files
authored
ci: set C2RUST_DIR for c2rust-testsuite so that current versions of c2rust crates are used (#1420)
The `transpile.gen.sh`s generated by `c2rust-testsuite` use `C2RUST_DIR` to set dependencies in generated `Cargo.toml`s to point to the current `c2rust` directory, allowing it to test with the current version of `c2rust-bitfields` and `c2rust-asm-casts`. This needs #1419 fixed first, and it should unblock #1408, which depends on the `c2rust-bitfields-derive` fix in #1411.
2 parents 73b8dcc + 02442bb commit f046e52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/internal-testsuite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
find testsuite -type f -name compile_commands.json -delete
136136
export PATH=$PWD/target/release:$HOME/.local/bin:$PATH
137137
echo "PATH=$PATH"
138+
export C2RUST_DIR=$PWD
138139
python3 testsuite/test.py curl json-c lua nginx zstd libxml2 python2
139140
140141
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)