You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm playing around with rules_rust release 0.17 in an existing large monorepo targeting linux.
I had to add crate_features = ["force_unix_path_separator"], to .../rules_rust/crate_universe/3rdparty/crates/BUILD.typenum-1.16.0.bazel due to missing an env var (I don't think folks would like to modify env vars in our builds):
This seems to be an autogenerated file, is there a way to set this create feature upstream?
With that resolved, I am now running into issues with missing .rs files that are generated in build scripts, for example:
error: couldn't read /b/f/w/bazel-out/k8-opt-exec-EA861D4F/bin/external/cui__unicode-linebreak-0.1.4/unicode-linebreak_build_script.out_dir/tables.rs: No such file or directory (os error 2) --> external/cui__unicode-linebreak-0.1.4/src/lib.rs:31:1 |31 | include!(concat!(env!("OUT_DIR"), "/tables.rs")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)error: aborting due to previous error
and
error: couldn't read /b/f/w/bazel-out/k8-opt-exec-EA861D4F/bin/external/cui__typenum-1.16.0/typenum_build_script.out_dir/op.rs: No such file or directory (os error 2)
--> external/cui__typenum-1.16.0/src/lib.rs:72:5
|
72 | include!(concat!(env!("OUT_DIR"), "/op.rs"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
any ideas how to debug this? The bazel-out directory seems reasonable?
Hi, I'm playing around with
rules_rust
release 0.17 in an existing large monorepo targeting linux.I had to add
crate_features = ["force_unix_path_separator"],
to.../rules_rust/crate_universe/3rdparty/crates/BUILD.typenum-1.16.0.bazel
due to missing an env var (I don't think folks would like to modify env vars in our builds):This seems to be an autogenerated file, is there a way to set this create feature upstream?
With that resolved, I am now running into issues with missing
.rs
files that are generated in build scripts, for example:and
any ideas how to debug this? The bazel-out directory seems reasonable?
in workspace:
The text was updated successfully, but these errors were encountered: