Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix: fix broken flake #168

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"
all = "warn"

[workspace.lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"
all = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }

ptr_arg = "allow"
# Too verbose
Expand Down
2 changes: 2 additions & 0 deletions crates/jrsonnet-evaluator/src/stdlib/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ pub fn render_integer(
} else {
let mut v = iv.abs();
let mut nums = Vec::with_capacity(1);

#[allow(clippy::while_float)]
while v != 0.0 {
nums.push((v % radix) as u8);
v = (v / radix).floor();
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-05-10"
channel = "nightly-2024-06-09"
components = ["rustfmt", "clippy", "rust-analyzer", "rust-src"]
Loading