Skip to content

Commit

Permalink
CI: Windows compilation time
Browse files Browse the repository at this point in the history
  • Loading branch information
comphead committed Dec 10, 2024
1 parent 6514caa commit 90bd294
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
export PATH=$PATH:$HOME/d/protoc/bin
echo $RUSTFLAGS
cargo test --lib --tests --bins --features avro,json,backtrace --profile release-nonlto
cargo test --lib --tests --bins --features avro,json,backtrace --profile windows
cd datafusion-cli
cargo test --lib --tests --bins --all-features --profile release-nonlto
cargo test --lib --tests --bins --all-features --profile windows
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,18 @@ overflow-checks = false
panic = 'unwind'
rpath = false

[profile.windows]
codegen-units = 256
debug = false
debug-assertions = false
incremental = true
inherits = "release"
lto = true
opt-level = 1
overflow-checks = false
panic = 'unwind'
rpath = false

[workspace.lints.clippy]
# Detects large stack-allocated futures that may cause stack overflow crashes (see threshold in clippy.toml)
large_futures = "warn"
Expand Down

0 comments on commit 90bd294

Please sign in to comment.