-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add experimental import
proc macro
#1127
Commits on Dec 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0479a28 - Browse repository at this point
Copy the full SHA 0479a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e9aa4c - Browse repository at this point
Copy the full SHA 7e9aa4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5116fa4 - Browse repository at this point
Copy the full SHA 5116fa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2ea5fb - Browse repository at this point
Copy the full SHA a2ea5fbView commit details
Commits on Jan 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 136faba - Browse repository at this point
Copy the full SHA 136fabaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d47d78 - Browse repository at this point
Copy the full SHA 1d47d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceee3a6 - Browse repository at this point
Copy the full SHA ceee3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 501ad53 - Browse repository at this point
Copy the full SHA 501ad53View commit details
Commits on Feb 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0b069ed - Browse repository at this point
Copy the full SHA 0b069edView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3bcbef - Browse repository at this point
Copy the full SHA f3bcbefView commit details
Commits on Feb 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f7bb612 - Browse repository at this point
Copy the full SHA f7bb612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32043c2 - Browse repository at this point
Copy the full SHA 32043c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for af0786d - Browse repository at this point
Copy the full SHA af0786dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50396b4 - Browse repository at this point
Copy the full SHA 50396b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cdb3fb - Browse repository at this point
Copy the full SHA 5cdb3fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4676e7 - Browse repository at this point
Copy the full SHA e4676e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c04b99 - Browse repository at this point
Copy the full SHA 0c04b99View commit details
Commits on Feb 16, 2022
-
mix in label in crate hash computation (bazelbuild#1083)
Consider the situation where we have two variants of the same crate: ``` rust_library( name = "foo", srcs = ["foo.rs"], ) rust_library( name = "foo2", crate_name = "foo", srcs = ["foo.rs"], ) ``` A use case for this is for example when we want to define different variants of a crate using different feature sets, e.g., define a rustc_private non-std variant of a vendored crate of the standard library together with a more standard version of the vendored crate that requires the standard library. Currently, this is a fragile definition since the output rlib filename of both of these is the same, e.g., `libfoo-$HASH.rlib`, where `$HASH` is derived from the crate root source filename, in this case `foo.rs`. So whenever we have a Bazel query that includes both of these, the build may fail with errors like: ``` ERROR: file 'test/unit/crate_variants/libfoo-717083168.rlib' is generated by these conflicting actions: Label: //test/unit/crate_variants:foo2, //test/unit/crate_variants:foo ``` This patch reduces the risk of such output filename collisions by mixing in the rule label in the output hash calculation.
Configuration menu - View commit details
-
Copy full SHA for e4a5b8c - Browse repository at this point
Copy the full SHA e4a5b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ab10b - Browse repository at this point
Copy the full SHA f5ab10bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bae0a8 - Browse repository at this point
Copy the full SHA 9bae0a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45aba44 - Browse repository at this point
Copy the full SHA 45aba44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5178cf2 - Browse repository at this point
Copy the full SHA 5178cf2View commit details -
add support for targeting iOS simulator on Apple Silicon (bazelbuild#…
…1073) When building on an Apple Silicon machine, a different target triple is required to target the simulator: https://doc.rust-lang.org/rustc/platform-support/aarch64-apple-ios-sim.html As rules_rust currently ignores abi in triples, listing device and simulator triples in a rust_repository_set() ends up always using the first one. Adding this constraint allows a build to be switched between targeting a device and targeting the simulator.
Configuration menu - View commit details
-
Copy full SHA for 0b8ad50 - Browse repository at this point
Copy the full SHA 0b8ad50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d8f88e - Browse repository at this point
Copy the full SHA 3d8f88eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55649e7 - Browse repository at this point
Copy the full SHA 55649e7View commit details -
Fix proc_macro_dylib_path when they are built in both opt and debug (b…
…azelbuild#1089) * Fix proc_macro_dylib_path in cases where they are built in both opt and debug * Resolve rustfmt issues * Update test comment
Configuration menu - View commit details
-
Copy full SHA for 8e77bdb - Browse repository at this point
Copy the full SHA 8e77bdbView commit details -
optimization: switch fastbuild opt default to 1 from 0 (bazelbuild#1091)
* optimization: switch fastbuild opt default to 1 from 0 This will very slightly increase build times but applies basic optimizations that will do things like make iterators _much_ faster. Since fastbuild is how people iterate most of the time, this seems like a sensible default value. * Regenerate documentation Co-authored-by: Augie Fackler <augie@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9a39709 - Browse repository at this point
Copy the full SHA 9a39709View commit details -
Configuration menu - View commit details
-
Copy full SHA for f94cc3e - Browse repository at this point
Copy the full SHA f94cc3eView commit details -
Revert "optimization: switch fastbuild opt default to 1 from 0 (bazel…
…build#1091)" (bazelbuild#1094) This reverts commit 2048a65.
Configuration menu - View commit details
-
Copy full SHA for ceaf856 - Browse repository at this point
Copy the full SHA ceaf856View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fb0b78 - Browse repository at this point
Copy the full SHA 8fb0b78View commit details -
Add DEBUG env var for running build scripts (bazelbuild#1096)
This variable is set for the default profiles as described in https://doc.rust-lang.org/cargo/reference/profiles.html -- true for dev and false for release. This is an environment variable cargo sets for build scripts documented here https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts
Configuration menu - View commit details
-
Copy full SHA for 126d18b - Browse repository at this point
Copy the full SHA 126d18bView commit details -
Added Rust 1.58.1 (bazelbuild#1097)
* Added Rust 1.58.1 * Regenerate documentation
Configuration menu - View commit details
-
Copy full SHA for db2bcc9 - Browse repository at this point
Copy the full SHA db2bcc9View commit details -
Updated rust_test docs (bazelbuild#1098)
* Updated rust_test docs * Regenerate documentation
Configuration menu - View commit details
-
Copy full SHA for 66b4d7b - Browse repository at this point
Copy the full SHA 66b4d7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c16516b - Browse repository at this point
Copy the full SHA c16516bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d789f9 - Browse repository at this point
Copy the full SHA 6d789f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 074bc60 - Browse repository at this point
Copy the full SHA 074bc60View commit details -
Allow users to configure the timeout of
cargo_bootstrap_repository
. (……bazelbuild#1101) * Allow users to configure the timeout of `cargo_bootstrap_repository`. * Regenerate documentation
Configuration menu - View commit details
-
Copy full SHA for e7b00b7 - Browse repository at this point
Copy the full SHA e7b00b7View commit details -
Made components of
rustc
bundles mandatory forrust_toolchain
. (b……azelbuild#1104) * Made components of `rustc` bundles mandatory for `rust_toolchain`. * Regenerate documentation
Configuration menu - View commit details
-
Copy full SHA for e4fa16b - Browse repository at this point
Copy the full SHA e4fa16bView commit details -
Allow cargo_bootstrap_repository to specify rustc and cargo separately (
bazelbuild#1100) * Allow cargo_bootstrap_repository to specify rustc and cargo separately * Regenerate documentation
Configuration menu - View commit details
-
Copy full SHA for 0e77c2e - Browse repository at this point
Copy the full SHA 0e77c2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ebcb6 - Browse repository at this point
Copy the full SHA e2ebcb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bf2c2d - Browse repository at this point
Copy the full SHA 0bf2c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 444f2b3 - Browse repository at this point
Copy the full SHA 444f2b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 739c98d - Browse repository at this point
Copy the full SHA 739c98dView commit details -
Fixed typo in docs (bazelbuild#1110)
* Fixed typo * Regenerate documentation
Configuration menu - View commit details
-
Copy full SHA for b90d504 - Browse repository at this point
Copy the full SHA b90d504View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d2971c - Browse repository at this point
Copy the full SHA 1d2971cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 444c696 - Browse repository at this point
Copy the full SHA 444c696View commit details -
Replace Targets and lists of files in
rust_toolchain
with depsets (b……azelbuild#1109) * Replace lists of files and Targets in `rust_toolchain` with depsets * Use `find_sysroot` helper. * Simply use `rust_std` files directly * Revert "Use `find_sysroot` helper." This reverts commit 914d159. * files
Configuration menu - View commit details
-
Copy full SHA for f9ef71c - Browse repository at this point
Copy the full SHA f9ef71cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0f678e - Browse repository at this point
Copy the full SHA a0f678eView commit details -
Calculate path values in the rust_toolchain construction (bazelbuild#…
…1115) * Calculate more things in the toolchain construction * Update sysroot logic
Configuration menu - View commit details
-
Copy full SHA for a4a3fa9 - Browse repository at this point
Copy the full SHA a4a3fa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fcdeba - Browse repository at this point
Copy the full SHA 4fcdebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f462643 - Browse repository at this point
Copy the full SHA f462643View commit details -
Remove --incompatible_remove_transitive_libs_from_dep_info (bazelbuil…
…d#1124) Closes bazelbuild#1051
Configuration menu - View commit details
-
Copy full SHA for 3f6f0d9 - Browse repository at this point
Copy the full SHA 3f6f0d9View commit details -
Remove
toolchain._crosstool
field (bazelbuild#1125)We use the equivalent `toolchain._cc_toolchain` attribute instead
Configuration menu - View commit details
-
Copy full SHA for f1f3416 - Browse repository at this point
Copy the full SHA f1f3416View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83803fd - Browse repository at this point
Copy the full SHA 83803fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14ee068 - Browse repository at this point
Copy the full SHA 14ee068View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef189fb - Browse repository at this point
Copy the full SHA ef189fbView commit details