-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add #[no_std]
and WebAssembly support
#21
base: main
Are you sure you want to change the base?
Conversation
Javascript import * as blurhash from "blurhash";
// You can use this to construct canvas-compatible resources
try {
const pixels = blurhash.decode("LKO2?U%2Tw=w]~RBVZRi};RPxuwH", 40, 30);
console.log(pixels);
} catch (error) {
console.log(error);
}
|
meh, ENOTFASTENOUGH :'-) |
🤷 |
When the test harness is built in lib mode, it seems that the `std` feature flag is disabled, but the f32::* methods are actually available.
Ugh. |
Goal is mainly to showcase wasm support.