Skip to content
Merged
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
30 changes: 10 additions & 20 deletions Cargo.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Full example is <https://github.com/phper-framework/phper/tree/master/examples/h

```shell
# If you are using debian like linux system:
sudo apt install llvm-10-dev libclang-10-dev
sudo apt install llvm-dev libclang-dev
```

1. Create the cargo project, with the extension name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Before writing the code, we first prepare the dependency and startup code.

```shell
# If you are using debian like linux system:
sudo apt install llvm-10-dev libclang-10-dev
sudo apt install llvm-dev libclang-dev
```

1. Create the cargo project, with the extension name.
Expand Down
2 changes: 1 addition & 1 deletion phper-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ repository = { workspace = true }
license = { workspace = true }

[build-dependencies]
bindgen = "0.71.1"
bindgen = "0.73.2"
cc = "1.2.14"
regex = "1.11.1"
3 changes: 3 additions & 0 deletions phper-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
)]
// TODO unsafe_op_in_unsafe_fn warning in edition 2024, temporary suppression.
#![allow(unsafe_op_in_unsafe_fn)]
// bindgen emits `#[allow(unnecessary_transmutes)]`, which rustc only knows
// from 1.88. It has to be crate-level: an allow on the `include!` is unused.
#![allow(unknown_lints)]
#![doc = include_str!("../README.md")]
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/112468984?s=200&v=4")]

Expand Down
Loading