-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Linebender lint set v2. (#64)
No code changes were necessary.
- Loading branch information
Showing
3 changed files
with
19 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# LINEBENDER LINT SET - .clippy.toml - v1 | ||
# See https://linebender.org/wiki/canonical-lints/ | ||
|
||
# The default Clippy value is capped at 8 bytes, which was chosen to improve performance on 32-bit. | ||
# Given that we are building for the future and even low-end mobile phones have 64-bit CPUs, | ||
# it makes sense to optimize for 64-bit and accept the performance hits on 32-bit. | ||
# 16 bytes is the number of bytes that fits into two 64-bit CPU registers. | ||
trivial-copy-size-limit = 16 | ||
|
||
# END LINEBENDER LINT SET |
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