rules_rust/test
Sam McCall a6426e06d0
rust_test(crate=foo) inherits foo.aliases (#2965)
Inline tests compile the same set of source files as the original crate.
The set of aliases required will be the same or occasionally a superset.
We shouldn't make users repeat them across targets.
2024-10-28 16:04:57 +00:00
..
3rdparty Fix fuchsia platform triple (#2945) 2024-10-20 15:33:14 +00:00
bindgen Introduce @rules_testing for Starlark tests (#2480) 2024-02-19 17:08:36 +00:00
build_env Fix bzlmod examples on windows (#2454) 2024-02-23 12:55:58 +00:00
bzl_version Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
bzlmod_repo_mapping Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
cargo_build_script cargo_build_script: Add regression test for revert #2925 (#2936) 2024-10-17 17:49:20 +00:00
cc_common_link Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
cc_shared_library Ensure dynamic library dependencies end up in the runfiles directory (#2671) 2024-06-05 12:20:27 +00:00
chained_direct_deps Addressed clippy warnings from `clippy 0.1.67 (ec56537c 2022-12-15)` (#1717) 2022-12-22 09:07:01 -08:00
clippy clippy: use --cap-lints=warn; apply clippy_flags when capture_output=True (#2451) 2024-04-10 08:15:13 +00:00
conflicting_deps Migrate rules_rust main repository to defs.bzl and smaller rules (#987) 2021-10-23 07:45:55 +02:00
current_toolchain_files Added `env_inherit` attribute to `rust_test` (#2809) 2024-08-26 19:01:14 +00:00
dep_env Avoid uses of shell to improve Windows tests (#2912) 2024-10-04 09:00:31 +00:00
extra_exec_rustc_flags Add extra_rustc_flag and extra_exec_rustc_flag (#1413) 2022-07-12 19:40:10 +02:00
generated_inputs Allow additional targets to compile with bzlmod (#2314) 2023-12-12 13:52:58 +00:00
genquery Fixed genquery for rust targets (#2559) 2024-03-26 16:50:12 +00:00
inline_test_with_deps Inform users that `crate` and `srcs` are mutually exclusive (#1650) 2023-12-14 04:46:21 +00:00
link_std_dylib Implement support for dylib linkage (#2414) 2024-02-23 15:58:54 +00:00
linker_inputs_propagation Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
load_arbitrary_tool Allow additional targets to compile with bzlmod (#2314) 2023-12-12 13:52:58 +00:00
native_deps Added Rust 1.78.0 (#2639) 2024-05-07 10:07:49 +00:00
no_std Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
out_dir_in_tests Inform users that `crate` and `srcs` are mutually exclusive (#1650) 2023-12-14 04:46:21 +00:00
portable_link_flags_darwin Added Rust 1.71.0 (#2062) 2023-07-27 10:19:55 +00:00
proc_macro Make proc macros' "data" available in compile_data of crates that use macro (#2097) 2023-08-08 11:55:32 +01:00
process_wrapper Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
process_wrapper_bootstrap Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
proto Removed legacy `//proto:*.bzl` files and updated docs (#2057) 2023-07-10 14:59:01 +00:00
renamed_deps rust_test(crate=foo) inherits foo.aliases (#2965) 2024-10-28 16:04:57 +00:00
rust Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
rust_analyzer Updated rust-analyzer to use repo vs generated files as crate roots (#2717) 2024-07-04 15:35:09 +00:00
rust_crate_group Rust library group (#1848) 2023-06-19 08:23:23 -07:00
rust_test_suite Have rust_test put its compilation outputs in a subdirectory (#1434) 2022-07-07 13:57:20 +02:00
rust_test_suite_shared Add support for shared test-only modules (#2734) 2024-07-10 14:02:35 +00:00
rustc_env_files Minor CI and test cleanup (#2004) 2023-06-13 18:08:06 +01:00
rustfmt Remove `.bazelversion` file to always use latest release available. (#2323) 2023-12-13 17:57:44 +00:00
test_env Set CARGO_MANIFEST_DIR at runtime for tests (#1559) 2022-10-05 10:16:50 +01:00
test_env_launcher Fix incorrect assertion in test_env_launcher test (#1368) 2022-05-29 15:35:55 -07:00
toolchain Add target specific rustc_flags last to the command line (#2927) 2024-10-09 11:26:23 +00:00
transitive_lib Renamed `_build_script_run` rule to `cargo_build_script` (#1612) 2022-10-28 07:37:36 -07:00
unit Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
unpretty Added `rust_unpretty_aspect` and `rust_unpretty` rules (#2356) 2023-12-27 17:02:43 +00:00
versioned_dylib Remove unnecessary binary file (#1755) 2023-01-05 14:18:34 +00:00
BUILD.bazel Add test for query and cquery in the repo (#2398) 2024-01-05 16:48:04 +00:00
deps.bzl Support incompatible enable proto toolchain resolution (#2741) 2024-07-19 08:10:10 +00:00
deps_transitive.bzl Support incompatible enable proto toolchain resolution (#2741) 2024-07-19 08:10:10 +00:00
query_test_binary.sh Add test for query and cquery in the repo (#2398) 2024-01-05 16:48:04 +00:00