We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When targeting wasm32-unknown-emscripten the following two cfg tags both pass causing a compile error:
wasm32-unknown-emscripten
cfg
#[cfg(any(target_arch = "wasm32", target_env = "sgx"))] #[path = "sys/stub.rs"] mod inner; #[cfg(unix)] #[path = "sys/unix.rs"] mod inner;
If I delete the sys/stub.rs one, chrono builds successfully for wasm32-unknown-emscripten. It seems to work correctly at runtime too.
sys/stub.rs
The text was updated successfully, but these errors were encountered:
I think this is a dupe of #519
Sorry, something went wrong.
Indeed. Closed as duplicate.
No branches or pull requests
When targeting
wasm32-unknown-emscripten
the following twocfg
tags both pass causing a compile error:If I delete the
sys/stub.rs
one, chrono builds successfully forwasm32-unknown-emscripten
. It seems to work correctly at runtime too.The text was updated successfully, but these errors were encountered: