Closed pventuzelo closed 4 years ago
Thanks for the response, I tried with:
wasm3 = { git = "https://github.com/Veykril/wasm3-rs", features=["build-bindgen"]}
but I get this error now:
error[E0425]: cannot find value `WHITELIST_REGEX` in this scope
--> /home/scop/.cargo/git/checkouts/wasm3-rs-136514b8b4045c53/7a5199e/wasm3-sys/build.rs:97:29
|
10 | const WHITELIST_REGEX_VAR: &str = WHITELIST_REGEX_TYPE;
| ------------------------------------------------------- similarly named constant `WHITELIST_REGEX_VAR` defined here
...
97 | .whitelist_function(WHITELIST_REGEX)
| ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `WHITELIST_REGEX_VAR`
error[E0425]: cannot find value `WHITELIST_REGEX` in this scope
--> /home/scop/.cargo/git/checkouts/wasm3-rs-136514b8b4045c53/7a5199e/wasm3-sys/build.rs:98:25
|
10 | const WHITELIST_REGEX_VAR: &str = WHITELIST_REGEX_TYPE;
| ------------------------------------------------------- similarly named constant `WHITELIST_REGEX_VAR` defined here
...
98 | .whitelist_type(WHITELIST_REGEX)
| ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `WHITELIST_REGEX_VAR`
error[E0425]: cannot find value `WHITELIST_REGEX` in this scope
--> /home/scop/.cargo/git/checkouts/wasm3-rs-136514b8b4045c53/7a5199e/wasm3-sys/build.rs:99:24
|
10 | const WHITELIST_REGEX_VAR: &str = WHITELIST_REGEX_TYPE;
| ------------------------------------------------------- similarly named constant `WHITELIST_REGEX_VAR` defined here
...
99 | .whitelist_var(WHITELIST_REGEX)
| ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `WHITELIST_REGEX_VAR`
error: aborting due to 3 previous errors
Looks like there was an error in the build script for when the feature was set, it should now compile with 9676702
Awesome, that's working ;) Thanks
Hey,
I was trying to use it and I got:
I've tried both: