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
While trying to build a component that contains a flags shape (example here), the following error is presented (reproduced here):
error[E0433]: failed to resolve: use of undeclared crate or module wit_bindgen
--> src/lib.rs:1:1
|
1 | cargo_component_bindings::generate!();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module wit_bindgen
|
= note: this error originates in the macro cargo_component_bindings::generate (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type Permissions in this scope
--> src/lib.rs:1:1
|
1 | cargo_component_bindings::generate!();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing this struct:
std::fs::Permissions
= note: this error originates in the macro cargo_component_bindings::generate (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0433]: failed to resolve: use of undeclared type Permissions
--> src/lib.rs:1:1
|
1 | cargo_component_bindings::generate!();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type Permissions
|
= help: consider importing this struct:
std::fs::Permissions
= note: this error originates in the macro cargo_component_bindings::generate (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
I am using cargo-component from commit 29fea4a.
While trying to build a component that contains a
flags
shape (example here), the following error is presented (reproduced here):The text was updated successfully, but these errors were encountered: