Skip to content

Commit c223539

Browse files
committed
test
1 parent 0f3656d commit c223539

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.bazelci/presubmit.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,10 @@ tasks:
577577
- "-//with_global_alloc/..."
578578
build_flags:
579579
- "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
580+
- "--@rules_rust//rust/settings:codegen_units=-1"
580581
test_flags:
581582
- "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
583+
- "--@rules_rust//rust/settings:codegen_units=-1"
582584
cc_common_link_with_global_alloc_ubuntu2004:
583585
name: Build via cc_common.link using a global allocator
584586
platform: ubuntu2004
@@ -590,9 +592,11 @@ tasks:
590592
build_flags:
591593
- "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
592594
- "--@rules_rust//rust/settings:experimental_use_global_allocator=True"
595+
- "--@rules_rust//rust/settings:codegen_units=-1"
593596
test_flags:
594597
- "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
595598
- "--@rules_rust//rust/settings:experimental_use_global_allocator=True"
599+
- "--@rules_rust//rust/settings:codegen_units=-1"
596600
cc_common_link_no_std_ubuntu2004:
597601
name: Build with no_std + alloc using cc_common.link infrastructure for linking
598602
platform: ubuntu2004
@@ -606,11 +610,13 @@ tasks:
606610
- "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
607611
- "--@rules_rust//rust/settings:experimental_use_global_allocator=True"
608612
- "--@rules_rust//rust/settings:no_std=alloc"
613+
- "--@rules_rust//rust/settings:codegen_units=-1"
609614
test_flags:
610615
- "--@rules_rust//rust/toolchain/channel=nightly"
611616
- "--@rules_rust//rust/settings:experimental_use_cc_common_link=True"
612617
- "--@rules_rust//rust/settings:experimental_use_global_allocator=True"
613618
- "--@rules_rust//rust/settings:no_std=alloc"
619+
- "--@rules_rust//rust/settings:codegen_units=-1"
614620
no_std_ubuntu2004:
615621
name: Build with no_std + alloc
616622
platform: ubuntu2004
@@ -622,9 +628,11 @@ tasks:
622628
build_flags:
623629
- "--@rules_rust//rust/toolchain/channel=nightly"
624630
- "--@rules_rust//rust/settings:no_std=alloc"
631+
- "--@rules_rust//rust/settings:codegen_units=-1"
625632
test_flags:
626633
- "--@rules_rust//rust/toolchain/channel=nightly"
627634
- "--@rules_rust//rust/settings:no_std=alloc"
635+
- "--@rules_rust//rust/settings:codegen_units=-1"
628636
bzlmod_repo_mapping_runfiles:
629637
name: bzlmod repo mapping test
630638
platform: ubuntu2004

0 commit comments

Comments
 (0)