diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 20:22:37 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 20:22:37 +0000 |
commit | 15189bc7249fc68a1df0234721514b677a90a305 (patch) | |
tree | 59b6168c1c2c6cd376d443b8da3383fcf87b826b /crates/ra_hir/src/resolve.rs | |
parent | 3604f23e98d01fe9d89e5cdcf76a51cb9c1d6768 (diff) | |
parent | 4e6d0933cce60a883fc6b58d12523acf72d9756a (diff) |
Merge #1021
1021: Wasm dependencies r=matklad a=detrumi
As a first step towards running RA on WASM (see #1007), this tweaks the dependencies somewhat so that projects built using `wasm-pack` can use `ra_ide_api` as a dependency.
There were two problems:
- use of undeclared type or module `MmapInner`
This error occurred because of the `memmap` crate, as a dependency of `fst`
Solution: specify `default-features = false` for the `fst` package (see https://github.com/BurntSushi/fst/issues/70)
- use of undeclared type or module `imp`
This happened in the `wait-timeout` crate ([which uses `Command` under the hood](https://github.com/alexcrichton/wait-timeout/issues/18)), a dependency of `rusty-fork` which is a dependency of `proptest`.
Solution: move `proptest` to dev-dependencies and add `#[cfg(test)]` to the `test_utils` crate.
**Edit:** Oh, that causes trouble with resolving the import when running the tests. Hmm...
Co-authored-by: Wilco Kusee <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/resolve.rs')
0 files changed, 0 insertions, 0 deletions