DzmitryFil
DzmitryFil
Rename never works for me with structs that use derive, so this feature is mostly useless at this point. I can reliably rename only local vars inside function.
What is human-readable flag?
I am also struggling to compile simple c libraries like imgui to wasm. @alexcrichton maybe you could help us, and share couple of words on how to build wasm32-unknown-unknown with...
Well, wasm32-emscripten target doesn't get much love from rust community either. Anyway, thanks for reply, it's nice to know status of these things.
Wow, thanks for offering help. My problem is compiling imgui-rs crate to wasm32-unknown-unknown target, i have no idea how to solve this, because my c++ knowledge is pretty limited. As...
Yeah, i probably could successfully compile rust with emscripten, but wasm-bindgen absence seems like a showstopper. > It might be easier to understand what issues you're running into with wasm32-unknown-unknown...
> I've found that often enough you can send PRs and make upstream code rely only on portable headers. It's probably possible, but it seems like too much work to...
> That's weird, wasm32-wasi definitely has these libraries. Did you install and use WASI SDK that was mentioned above? I simply used cargo wasi build, and got the same stdlib...
> It's more effort, but it should work to build the C/C++ static library separately using Emscripten then pass that library to rustc to link in according to this https://github.com/rustwasm/wasm-pack/issues/621#issuecomment-481703973...
I just tried to build wasm32-wasi target passing --sysroot=[path_to_my_build_of_wasi_sysroot] flag to cc::Build, and still i get - rust-lld: error: unable to find library -lstdc++