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
Compiling hostname v0.3.1
error: Unsupported target OS! Create an issue: https://github.com/svartalf/hostname/issues/new
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hostname-0.3.1/src/lib.rs:81:9
|
81 | compile_error!("Unsupported target OS! Create an issue: https://github.com/svartalf/hostname/issues/new");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared crate or module `sys`
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hostname-0.3.1/src/lib.rs:105:5
|
105 | sys::get()
| ^^^ use of undeclared crate or module `sys`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `hostname` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
@hitchhooker this looks like the opposite of what we are looking for, as it resolves a DNS hostname into IP addresses (similar to getaddrinfo(3), for example).
In addition, I'm not sure how to determine during the compile time that we are compiling for Wasix specifically, as there is no such compilation target in Rust.
With all of it, it seems like there is nothing can be done to resolve this issue for now.
cargo wasix build
The text was updated successfully, but these errors were encountered: