From 77ae098146ac2eb0fa1d623418d2f9dbe1aac2d9 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:15:10 +0100 Subject: [PATCH] replace whitelist with allowlist whitelist args were removed in 0.63, we are using 0.59 but this somehow causes failures on windows --- wasm3-sys/build.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wasm3-sys/build.rs b/wasm3-sys/build.rs index c4ead44..40cc4d0 100644 --- a/wasm3-sys/build.rs +++ b/wasm3-sys/build.rs @@ -40,11 +40,11 @@ fn gen_bindings() { .arg("--no-layout-tests") .arg("--default-enum-style=moduleconsts") .arg("--no-doc-comments") - .arg("--whitelist-function") + .arg("--allowlist-function") .arg(WHITELIST_REGEX_FUNCTION) - .arg("--whitelist-type") + .arg("--allowlist-type") .arg(WHITELIST_REGEX_TYPE) - .arg("--whitelist-var") + .arg("--allowlist-var") .arg(WHITELIST_REGEX_VAR) .arg("--no-derive-debug"); for &ty in PRIMITIVES.iter() {