Comments (4)
I managed to get around the issue temporarily by specifying conditional dependencies in my Cargo.toml file:
[target.'cfg(target_arch = "wasm32")'.dependencies]
rhai = { version = "1.17.1", features = ["wasm-bindgen"] }
However this only works because I am actually using rhai from yet a different crate, otherwise Rust-Analyzer would complain that "rhai" doesn't exist.
from rhai.
Not very sure about this... I think it might be a hiccup with Rust Analyzer...
from rhai.
I think you're right. I think it may not be supported by Rust Analyzer. rust-lang/rust-analyzer#16765
from rhai.
I'll close this issue as it is not RHAI specific.
from rhai.
Related Issues (20)
- Add a no_plugin feature HOT 7
- Issue with `CustomType` getters HOT 2
- Customizing "let", syntax
- Customizing "let", "fn" syntax HOT 4
- Object definition syntax HOT 2
- on_var not called for variables in closures HOT 6
- `NativeCallContext` in `export_module` results in a "hidden lifetime parameters in types are deprecated" warning HOT 7
- Pre-compile scripts? HOT 6
- The `sync` feature flag is not compatible with `no_std` HOT 1
- Willingness to offer alternative Map types behind feature flags? HOT 1
- Rhai `no_std` appears to rely on `once_cell/alloc` but does not request it HOT 2
- Could you consider removing the semicolons at the end of the lines HOT 5
- Defining a pipeline operator? HOT 2
- min(f64, f64) function not found HOT 2
- A memory leak was discovered HOT 1
- A stack overflow vulnerability was found HOT 3
- [Question] Is there a way to turn a value with a lifetime into a `Dynamic` HOT 5
- Add `position` to `EvalAltResult::SystemError` HOT 1
- on_debug callback not presenting source HOT 4
- Defining operators for CustomType HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhai.