commit | c43af7b886f0e185523fb7a280ed83615e643fae | [log] [tgz] |
---|---|---|
author | UebelAndre <github@uebelandre.com> | Mon Apr 29 03:20:46 2024 -0700 |
committer | GitHub <noreply@github.com> | Mon Apr 29 10:20:46 2024 +0000 |
tree | d5abe7b9e34a88935b4bb81ffb18776a1974df41 | |
parent | 277698792544b226b77cf5a4c6f1bc4ce93b7ec5 [diff] |
Added debug logging for spliced manifests to crate_universe (#2629) This adds the following new logging when `CARGO_BAZEL_DEBUG=1` is enabled in the environment when the repository rule runs. ``` cd test/no_std && CARGO_BAZEL_REPIN=1 CARGO_BAZEL_DEBUG=1 bazel sync --only=no_std_crate_index ``` ```` ... ... Splice 2024-04-27T16:31:48.249675Z DEBUG write_registry_urls_and_feature_map: cargo_bazel::splicing::splicer: Writing Cargo manifest '/private/var/tmp/_bazel_user/427c86c43c8db37f50959419e7306f4e/external/no_std_crate_index/splicing-workspace/Cargo.toml': ```toml [dependencies.libc_alloc] version = "1.0.3" [lib] name = "direct_cargo_bazel_deps" path = ".direct_cargo_bazel_deps.rs" required-features = [] [package] edition = "2018" name = "direct-cargo-bazel-deps" version = "0.0.1" [workspace] members = [] resolver = "2" [workspace.metadata.cargo-bazel.features."direct-cargo-bazel-deps 0.0.1"] common = [] [workspace.metadata.cargo-bazel.features."direct-cargo-bazel-deps 0.0.1".selects] [workspace.metadata.cargo-bazel.features."libc_alloc 1.0.4"] common = [] [workspace.metadata.cargo-bazel.features."libc_alloc 1.0.4".selects] [workspace.metadata.cargo-bazel.package_prefixes] [workspace.metadata.cargo-bazel.sources."libc_alloc 1.0.4"] sha256 = "6a090348b66d90d8507e30f0d2bd88e5a5c454bd1733fc6d617cbc3471bf69ea" url = "https://static.crates.io/crates/libc_alloc/1.0.4/download" ``` ... ... ````
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust
.
Please refer to the full documentation.