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
Trying to build this crate with --target wasm32-wasip2 leads to errors:
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/maybe_polyfill/std/mod.rs:30:13
|
30 | AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd,
| ^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/maybe_polyfill/std/mod.rs:30:28
|
30 | AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd,
| ^^^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/maybe_polyfill/std/mod.rs:30:62
|
30 | AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd,
| ^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/fs/mod.rs:143:29
|
143 | pub use std::os::wasi::fs::{DirEntryExt, FileExt, FileTypeExt, MetadataExt, OpenOptionsExt};
| ^^^^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/fs/mod.rs:143:42
|
143 | pub use std::os::wasi::fs::{DirEntryExt, FileExt, FileTypeExt, MetadataExt, OpenOptionsExt};
| ^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/fs/mod.rs:143:51
|
143 | pub use std::os::wasi::fs::{DirEntryExt, FileExt, FileTypeExt, MetadataExt, OpenOptionsExt};
| ^^^^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/fs/mod.rs:143:64
|
143 | pub use std::os::wasi::fs::{DirEntryExt, FileExt, FileTypeExt, MetadataExt, OpenOptionsExt};
| ^^^^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/fs/mod.rs:143:77
|
143 | pub use std::os::wasi::fs::{DirEntryExt, FileExt, FileTypeExt, MetadataExt, OpenOptionsExt};
| ^^^^^^^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/path/arg.rs:26:26
|
26 | use std::os::wasi::ffi::{OsStrExt, OsStringExt};
| ^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'wasip2'
--> /home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/src/path/arg.rs:26:36
|
26 | use std::os::wasi::ffi::{OsStrExt, OsStringExt};
| ^^^^^^^^^^^
|
= help: add `#![feature(wasip2)]` to the crate attributes to enable
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
The text was updated successfully, but these errors were encountered:
Trying to build this crate with
--target wasm32-wasip2
leads to errors:The text was updated successfully, but these errors were encountered: