Skip to content

Commit b4aa2bb

Browse files
committed
build(bindgen): switch to nightly target function
Refs: #440
1 parent 1579cab commit b4aa2bb

File tree

3 files changed

+332
-118
lines changed

3 files changed

+332
-118
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
# Test
165165
- name: Test inline examples
166166
# Macos fails on unstable rust. We skip the inline examples test for now.
167-
if: "!(contains(matrix.os, 'macos') && matrix.rust == 'nightly')"
167+
# if: "!(contains(matrix.os, 'macos') && matrix.rust == 'nightly')"
168168
run: cargo test --release --all --features closure,anyhow --no-fail-fast
169169
build-zts:
170170
name: Build with ZTS

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn generate_bindings(defines: &[(&str, &str)], includes: &[PathBuf]) -> Result<S
222222
.no_copy("_zend_array")
223223
.no_debug("_zend_function_entry") // On Windows when the handler uses vectorcall, Debug cannot be derived so we do it in code.
224224
.layout_tests(env::var("EXT_PHP_RS_TEST").is_ok())
225-
.rust_target(RustTarget::Nightly);
225+
.rust_target(RustTarget::nightly());
226226

227227
for binding in ALLOWED_BINDINGS {
228228
bindgen = bindgen

0 commit comments

Comments
 (0)