Commit Graph

4 Commits

Author SHA1 Message Date
Ivan Kalchev dc66c1612b
Allow rust toolchain repositories from custom repo rules (#1036)
This change allows `crate_universe` to use a custom repo for the rust toolchain. I.e. suppose that `cargo` and `rustc` come from a custom repo rule and have different paths inside the repo rule (compared to the standard "upstream")

Fixes #1019
2021-11-29 15:18:08 +00:00
John Edmonds 7cde1e46e9 Add support for wasm-bindgen. (#240)
* Add support for WebAssembly.

* Add a comment explaining that the npm deps are for the wasm example.

* Use transitions for web assembly.

* Upgrade WASM bindgen and make compatible with Typescript.

* Remove unnecessary setting.

* Re-run cargo-raze.

* Add nodejs rules for the examples workspace.

* Fix link_env missing.

* Bazel 1.0 compatibility.

* Exclude matrix_dylib_test on RBE due to https://github.com/bazelbuild/bazel/issues/9987.

* Ignore the wasm test because rust-lld isn't available on RBE.

* Use extra target triples.

* Remove extra newline.
2019-10-31 10:34:25 -07:00
Justine Tunney c53f8168f5 Use Bazel mirror to download externals (#17) 2016-07-20 17:21:50 -07:00
Kristina Chodorow 5c4faadf4c Move rust rules to their own repository 2016-03-04 15:11:40 -05:00