-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch out backend * Fix up deny and add changelog entry * Remove overflow checks from lto profile * Don't use mold since it complicates CI * Run test on 'core' * Add clippy to toolchain file * Clippy update, fix previously weird build cfg * Clean up all new clippy lints
- Loading branch information
1 parent
447dfd2
commit 3b799e1
Showing
65 changed files
with
2,206 additions
and
1,325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
[profile.dev] | ||
panic = "abort" # No std requirement | ||
|
||
[profile.release] | ||
overflow-checks = true # I prefer panics over wraps | ||
panic = "abort" # No std requirement | ||
|
||
[profile.lto] | ||
panic = "abort" # No std requirement | ||
codegen-units = 1 # Better optimization | ||
debug = false # Inherits from release so should actually do nothing but whatever | ||
inherits = "release" | ||
lto = true # link time optimization | ||
strip = true # smaller binary | ||
strip = true # smaller binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash | ||
set -ex | ||
# Deny all warnings here, becomes a pain to scroll back otherwise | ||
cargo hack clippy --feature-powerset -- -D warnings | ||
cargo hack clippy -p pgwm-app --feature-powerset -- -D warnings | ||
# Running all modules like this causes a lot of rebuilds which take a lot of time | ||
cargo hack test -p pgwm-core --feature-powerset | ||
# Test all modules with default features as well | ||
cargo test | ||
cargo test -p pgwm-app --all-features | ||
# Make sure dependencies don't have any advisories or weird licensing | ||
cargo deny --all-features --frozen --locked check |
Oops, something went wrong.