Closed
Description
Rust Version
rustc 1.42.0 (b8cedc004 2020-03-09)
Code
fn main()->{}
Steps to reproduce the issue
- Run
cargo run --target wasm32-wasi
Affected Version of clap*
master
Actual Behavior Summary
The compilation does not finish due to 31 errors, mostly:
- error[E0599]: no function or associated item named
from_bytes
found for structstd::ffi::OsStr
in the current scope - error[E0599]: no method named
as_bytes
found for reference&std::ffi::OsStr
in the current scope
Expected Behavior Summary
The compilation does finish with 0 errors
Additional context
I really like the idea of having universal bytecode, and I really like powerful CLI tools. I would love to use clap for the wasm32-wasi target!