Skip to content

Commit b0ae63b

Browse files
committed
ref(sys): let bindgen target Rust 1.82
This will make it slightly easier to target Rust's 2024 edition, where the `unsafe` keyword will be required for `extern` blocks like these. I'd like to also not use the now deprecated Rust version constants offered by `bindgen`, but the ergonomics of the alternative syntax can be improved and we can try to make it better upstream - see rust-lang/rust-bindgen#3055.
1 parent 1e8a8fa commit b0ae63b

File tree

4 files changed

+148
-148
lines changed

4 files changed

+148
-148
lines changed

packages/aotuv_lancer_vorbis_sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn main() {
6060
.blocklist_item("FILE")
6161
.blocklist_item("ogg_.*")
6262
.blocklist_item("__.*")
63-
.rust_target(RustTarget::Stable_1_77)
63+
.rust_target(RustTarget::Stable_1_82)
6464
.layout_tests(false) // Type layout is platform-specific
6565
.generate()
6666
.expect("Unable to generate bindings")

0 commit comments

Comments
 (0)