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 13, 2024
1 parent 14feca8 commit 434aa4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup-windows-builder/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ runs:
run: |
# Avoid self update to avoid CI failures: https://github.com/apache/datafusion/issues/9653
rustup toolchain install stable --no-self-update
rustup default stable
rustup default stable-x86_64-pc-windows-gnu
rustup component add rustfmt
rustup component add llvm-tools-preview
- name: Configure rust runtime env
uses: ./.github/actions/setup-rust-runtime
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ panic = 'unwind'
rpath = false

[profile.release-windows]
codegen-units = 1
codegen-units = 16
debug = 'line-directives-only'
inherits = "release"
lto = 'fat'
Expand Down

0 comments on commit 434aa4e

Please sign in to comment.