From d3bba5f99c9c8909d1b814aa420d426feaa7a8be Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Mon, 16 Dec 2024 17:08:32 -0800 Subject: [PATCH] test --- .bazelci/presubmit.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 0c0e74eeea..1f9d6ee4ef 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -577,8 +577,10 @@ tasks: - "-//with_global_alloc/..." build_flags: - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True" + - "--@rules_rust//rust/settings:codegen_units=-1" test_flags: - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True" + - "--@rules_rust//rust/settings:codegen_units=-1" cc_common_link_with_global_alloc_ubuntu2004: name: Build via cc_common.link using a global allocator platform: ubuntu2004 @@ -590,9 +592,11 @@ tasks: build_flags: - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True" - "--@rules_rust//rust/settings:experimental_use_global_allocator=True" + - "--@rules_rust//rust/settings:codegen_units=-1" test_flags: - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True" - "--@rules_rust//rust/settings:experimental_use_global_allocator=True" + - "--@rules_rust//rust/settings:codegen_units=-1" cc_common_link_no_std_ubuntu2004: name: Build with no_std + alloc using cc_common.link infrastructure for linking platform: ubuntu2004 @@ -606,11 +610,13 @@ tasks: - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True" - "--@rules_rust//rust/settings:experimental_use_global_allocator=True" - "--@rules_rust//rust/settings:no_std=alloc" + - "--@rules_rust//rust/settings:codegen_units=-1" test_flags: - "--@rules_rust//rust/toolchain/channel=nightly" - "--@rules_rust//rust/settings:experimental_use_cc_common_link=True" - "--@rules_rust//rust/settings:experimental_use_global_allocator=True" - "--@rules_rust//rust/settings:no_std=alloc" + - "--@rules_rust//rust/settings:codegen_units=-1" no_std_ubuntu2004: name: Build with no_std + alloc platform: ubuntu2004 @@ -622,9 +628,11 @@ tasks: build_flags: - "--@rules_rust//rust/toolchain/channel=nightly" - "--@rules_rust//rust/settings:no_std=alloc" + - "--@rules_rust//rust/settings:codegen_units=-1" test_flags: - "--@rules_rust//rust/toolchain/channel=nightly" - "--@rules_rust//rust/settings:no_std=alloc" + - "--@rules_rust//rust/settings:codegen_units=-1" bzlmod_repo_mapping_runfiles: name: bzlmod repo mapping test platform: ubuntu2004