-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
target_family condition not met #66
New issue
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
Comments
Ah yeah I believe this is an instance of a crate that isn't currently ported to wasm so the compilation error is coming out. The target_family for wasm32-unknown-unknown I think isn't set at all right now! |
Thank you. Is that what this issue and this as well are covering? |
Sort of! In general though I'd guess that the |
I don't think real memmap is even possible for WASM currently unless it means shimming it to simply copy data for read-only mode. |
Hi @alexcrichton! It's quite exciting to be writing someone who is so prolific in the Rust community.
Thank you so much for
wasm-bindgen
and thank you for your time.Laying out my issue:
Host:
nightly-x86_64-pc-windows-gnu
Version:
rustc 1.26.0-nightly
Attempting to compile this library with
cargo build --release --target wasm32-unknown-unknown
.Receiving long error output all having to do with undeclared modules:
Looking at memmap v0.5.2, I see the
MmapInner
module declared here if Windows target family and also on line 12 if Linux target family condition is met.Is this occurring because
wasm32-unknown-unknown
is neither Windows nor Linux target family?The text was updated successfully, but these errors were encountered: