Skip to content

Commit

Permalink
Fix data for actix-web (workaround for google/cargo-raze#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Feb 28, 2021
1 parent b8c8474 commit 66fd030
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/remote/BUILD.actix-web-0.7.18.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ cargo_build_script(
"session",
],
crate_root = "build.rs",
data = glob(["**"]),
data = glob(["**"], exclude=["tests/test space.binary"]), # hack workaround for https://github.com/google/cargo-raze/issues/287
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
Expand Down Expand Up @@ -81,7 +81,7 @@ rust_library(
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
data = [] + glob(["**"], exclude=["tests/test space.binary"]),
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
Expand Down
3 changes: 3 additions & 0 deletions potboiler_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ anyhow = "1"
[lib]
name = "potboiler_common"
path = "src/lib.rs"

[package.metadata.raze.crates.actix-web.'0.7.18']
data_attr = """glob(["**"], exclude=["tests/test space.binary"])"""

0 comments on commit 66fd030

Please sign in to comment.