update to latest cargo-raze

This commit is contained in:
Damien Elmes 2020-12-15 20:28:10 +10:00
parent 75cbbea048
commit d49416649c
282 changed files with 295 additions and 5 deletions

View File

@ -13,6 +13,8 @@ path = "src/lib.rs"
[package.metadata.raze]
workspace_path = "//cargo"
package_aliases_dir = "cargo"
# pull requests that add other targets (eg Arm Linux, FreeBSD) welcome - you'll
# need to update platforms/, BUILD.request.bazel and pylib/anki/BUILD.bazel as
# well.

View File

@ -4,17 +4,19 @@ After updating dependencies in ../rslib/Cargo.toml, change to this
folder and run python update.py to update the external Bazel repositories
to point to the updated deps.
You will need to have cargo-raze 0.7.0 or later installed, which is not
currently included in this Bazel project. When it's released as stable,
you can install it by installing rustup, then running "cargo install cargo-raze".
For now it needs to be built from commit 4d1721ed32e19dfea8794f868a4884bdffdc4014.
Currently you'll need to:
- have a local Rust environment installed
- fetch cargo-raze from GitHub
- check out 52f20dda88da0feb696ec2fea32e82840d203c13
- then change to the impl folder, and run 'cargo install --path .' to install it.
A couple of crates need extra work to build with Bazel, and are listed
in ../Cargo.toml. For example:
```toml
[package.metadata.raze.crates.pyo3.'*']
data_attr = "glob([\"**\"])"
compile_data_attr = "glob([\"**\"])"
```
With minor version updates, you should not normally need to modify

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -69,6 +69,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -43,6 +43,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -73,6 +73,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -44,6 +44,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -42,6 +42,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
proc_macro_deps = [
"@raze__askama_derive__0_10_5//:askama_derive",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "proc-macro",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -43,6 +43,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -46,6 +46,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -45,6 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -51,6 +51,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -43,6 +43,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -45,6 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -67,6 +67,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -45,6 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -72,6 +72,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -40,6 +40,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -71,6 +71,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -45,6 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -38,6 +38,7 @@ rust_binary(
crate_features = [
],
crate_root = "src/bin/gcc-shim.rs",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
@ -61,6 +62,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -50,6 +50,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -65,6 +65,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -71,6 +71,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -45,6 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -74,6 +74,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -74,6 +74,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "proc-macro",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -38,6 +38,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "proc-macro",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -65,6 +65,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -58,6 +58,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -50,6 +50,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
proc_macro_deps = [
"@raze__failure_derive__0_1_8//:failure_derive",

View File

@ -65,6 +65,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "proc-macro",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -84,6 +84,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -40,6 +40,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_binary(
"default",
],
crate_root = "src/bin/parser.rs",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
@ -66,6 +67,7 @@ rust_binary(
"default",
],
crate_root = "src/bin/update_fixtures.rs",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
@ -90,6 +92,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -43,6 +43,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -44,6 +44,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -40,6 +40,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -40,6 +40,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -38,6 +38,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "proc-macro",
data = [],
edition = "2018",
proc_macro_deps = [
"@raze__proc_macro_hack__0_5_19//:proc_macro_hack",

View File

@ -40,6 +40,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -40,6 +40,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -55,6 +55,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
proc_macro_deps = [
"@raze__futures_macro__0_3_8//:futures_macro",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -66,6 +66,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -81,6 +81,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "proc-macro",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -48,6 +48,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -43,6 +43,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -43,6 +43,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -38,6 +38,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -45,6 +45,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -71,6 +71,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -83,6 +83,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -41,6 +41,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -39,6 +39,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",

View File

@ -37,6 +37,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",

Some files were not shown because too many files have changed in this diff Show More