You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Compile failed when adding ffi and deno_ffi features.
rustyscript = { version = "0.11.0", features = ["ffi", "deno_ffi"] }
Compiling rustyscript v0.11.0
error[E0432]: unresolved import `super::web`
--> C:\Users\Eigeen\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\rustyscript-0.11.0\src\ext\ffi\mod.rs:1:13
|
1 | use super::{web::PermissionsContainer, ExtensionTrait};
| ^^^ could not find `web` in `super`
|
note: found an item that was configured out
--> C:\Users\Eigeen\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\rustyscript-0.11.0\src\ext\mod.rs:55:9
|
55 | pub mod web;
| ^^^
note: the item is gated behind the `web` feature
--> C:\Users\Eigeen\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\rustyscript-0.11.0\src\ext\mod.rs:54:7
|
54 | #[cfg(feature = "web")]
| ^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared crate or module `deno_permissions`
--> C:\Users\Eigeen\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\rustyscript-0.11.0\src\ext\ffi\mod.rs:29:55
|
29 | fn check_partial_no_path(&mut self) -> Result<(), deno_permissions::PermissionCheckError> {
| ^^^^^^^^^^^^^^^^ use of undeclared crate or module `deno_permissions`
error[E0433]: failed to resolve: use of undeclared crate or module `deno_permissions`
--> C:\Users\Eigeen\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\rustyscript-0.11.0\src\ext\ffi\mod.rs:37:37
|
37 | ) -> Result<std::path::PathBuf, deno_permissions::PermissionCheckError> {
| ^^^^^^^^^^^^^^^^ use of undeclared crate or module `deno_permissions`
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `rustyscript` (lib) due to 3 previous errors
Platform
OS: Windows 11 23H2
The text was updated successfully, but these errors were encountered:
Describe the bug
Compile failed when adding
ffi
anddeno_ffi
features.rustyscript = { version = "0.11.0", features = ["ffi", "deno_ffi"] }
Platform
The text was updated successfully, but these errors were encountered: