Skip to content

Commit

Permalink
lib: weaken forbid to deny
Browse files Browse the repository at this point in the history
See PyO3/pyo3#4396 -- pyo3 now emits
some `#[allow(unsafe_code)]` markers, which our previous
`forbid(unsafe_code)` was rejecting. Ideally `rustc` would understand
that these are not in "our" code (since they're in macro/proc-macro
expansions), but that doesn't currently appear to be the case.

Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Sep 16, 2024
1 parent a7aae47 commit 68d6617
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ crate-type = ["cdylib"]
[dependencies]
age-core = "0.10"
age = { version = "0.10", features = ["ssh", "plugin"] }
pyo3 = { version = "0.22", features = [
pyo3 = { version = "0.22.3", features = [
"extension-module",
"abi3",
"abi3-py38",
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

use std::{
fs::File,
Expand Down

0 comments on commit 68d6617

Please sign in to comment.