Skip to content

chore: upgrade rules_rs to 0.0.64 - #915

Merged
jbedard merged 1 commit into
mainfrom
rules_rs-0053
Apr 29, 2026
Merged

jbedard merged 1 commit into
mainfrom
rules_rs-0053

Conversation

@jbedard

@jbedard jbedard commented Apr 5, 2026

Copy link
Copy Markdown
Member

Changes are visible to end-users: no

Test plan

  • Covered by existing test cases

@aspect-workflows

aspect-workflows Bot commented Apr 5, 2026

Copy link
Copy Markdown

Bazel 8 (Test)

All tests were cache hits

121 tests (100.0%) were fully cached saving 58s.


Bazel 9 (Test)

All tests were cache hits

120 tests (100.0%) were fully cached saving 1m 2s.


Bazel 8 (Test)

e2e

All tests were cache hits

54 tests (100.0%) were fully cached saving 56s.


Bazel 9 (Test)

e2e

48 test targets passed

Targets
//cases/cross-repo-610:test [k8-fastbuild-ST-3d5e5c0e17c2]298ms
//cases/freethreaded-805:test [k8-fastbuild-ST-258424f943bf]10s
//cases/interpreter-features-836:test [k8-fastbuild]8s
//cases/interpreter-provisioning:test [k8-fastbuild-ST-1a8602e72ef0]350ms
//cases/interpreter-version-541:test_3_10_classic [k8-fastbuild-ST-3746b67a8e25]2s
//cases/interpreter-version-541:test_3_10_venv [k8-fastbuild-ST-3746b67a8e25]427ms
//cases/interpreter-version-541:test_3_11_classic [k8-fastbuild-ST-1a8602e72ef0]1s
//cases/interpreter-version-541:test_3_11_venv [k8-fastbuild-ST-1a8602e72ef0]384ms
//cases/interpreter-version-541:test_3_9_classic [k8-fastbuild-ST-cc09ec9be975]769ms
//cases/interpreter-version-541:test_3_9_venv [k8-fastbuild-ST-cc09ec9be975]312ms
//cases/pth-namespace-547:test [k8-fastbuild-ST-144eaf95864e]402ms
//cases/pth-namespace-547:test_legacy [k8-fastbuild-ST-144eaf95864e]699ms
//cases/pytest-main-867:test_collection_check [k8-fastbuild-ST-849c15114b99]6s
//cases/pytest-main-867:test_direct_pytest_main [k8-fastbuild-ST-849c15114b99]4s
//cases/pytest-main-867:test_example [k8-fastbuild-ST-849c15114b99]3s
//cases/pytest-main-867:test_multi_src [k8-fastbuild-ST-849c15114b99]3s
//cases/pytest-main-867:test_naming_regression [k8-fastbuild-ST-849c15114b99]2s
//cases/pytest-mock-530:test_mock_py_test [k8-fastbuild-ST-ead18db1a9e5]3s
//cases/pytest-mock-530:test_mock_py_venv_test [k8-fastbuild-ST-ead18db1a9e5]3s
//cases/pytest-subdir-imports:test_subdir_import [k8-fastbuild-ST-a911dc201932]2s
//cases/repository-rule-deps-299:all_direct [k8-fastbuild-ST-1a8602e72ef0]1s
//cases/repository-rule-deps-299:test [k8-fastbuild-ST-1a8602e72ef0]1s
//cases/root-dir-paths-538:test_root_dir [k8-fastbuild]99ms
//cases/root-dir-paths-538:test_root_dir_venv [k8-fastbuild]441ms
//cases/unconstrained-dependencies:get_python_package_version_humble_test [k8-fastbuild-ST-7cf6bca30bef]1s
//cases/unconstrained-dependencies:get_python_package_version_main_test [k8-fastbuild-ST-7b13bbdb9325]3s
//cases/uv-abi3-compat-853:test_import [k8-fastbuild-ST-8dad7e78101a]220ms
//cases/uv-conflict-817:test_a [k8-fastbuild-ST-cd0c05bca563]1s
//cases/uv-conflict-817:test_b [k8-fastbuild-ST-c24c68053f7a]752ms
//cases/uv-conflict-gte:test_a [k8-fastbuild-ST-feb2a29235ef]518ms
//cases/uv-conflict-gte:test_b [k8-fastbuild-ST-2677d4af01c2]293ms
//cases/uv-conflict-max-863:test_a [k8-fastbuild-ST-56c67bed1d4b]330ms
//cases/uv-conflict-max-863:test_b [k8-fastbuild-ST-c1a5d65ffd6e]311ms
//cases/uv-conflict-tilde-856:test_a [k8-fastbuild-ST-5d5cf6543ce5]300ms
//cases/uv-conflict-tilde-856:test_b [k8-fastbuild-ST-12cade31d931]309ms
//cases/uv-deps-650/airflow:airflow [k8-fastbuild-ST-032f9e1f9b8e]106ms
//cases/uv-deps-650/extras:extras [k8-fastbuild-ST-d7def1929d69]2s
//cases/uv-deps-650/say:say [k8-fastbuild-ST-3d5e5c0e17c2]350ms
//cases/uv-include-group:include_group [k8-fastbuild-ST-bb0a34f59f6f]3s
//cases/uv-legacy-deps-750:googlemaps [k8-fastbuild-ST-9a8a2cef12dd]2s
//cases/uv-patching-829:test [k8-fastbuild-ST-2daf40585037]371ms
//cases/uv-plus-version:test [k8-fastbuild-ST-da4f8b55c8fe]911ms
//cases/uv-whl-install-output-group:test [k8-fastbuild-ST-fb8873d7dff1]1s
//cases/uv-workspace-789:test [k8-fastbuild-ST-2f10d0569a36]1s
//cases/venv-bin-scripts-423:test [k8-fastbuild-ST-7c878c5c0947]3s
//cases/venv-internal-symlinks:test_internal_symlinks [k8-fastbuild-ST-2dc525242b17]1s
//cases/venv-internal-symlinks:test_internal_symlinks_legacy [k8-fastbuild-ST-2dc525242b17]2s
//cases/venv-isolated-mode-703:test [k8-fastbuild-ST-7885c20ec43e]231ms

Total test execution time was 1m 18s. 6 tests (11.1%) were fully cached saving 615ms.


Bazel 8 (Test)

examples/uv_pip_compile

All tests were cache hits

1 test (100.0%) was fully cached saving 444ms.


Buildifier

@jbedard
jbedard changed the base branch from main to bump_llvm April 6, 2026 06:22
Base automatically changed from bump_llvm to main April 6, 2026 06:38
@CLAassistant

CLAassistant commented Apr 6, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jbedard
jbedard force-pushed the rules_rs-0053 branch 9 times, most recently from b188c00 to 94791fd Compare April 7, 2026 07:17
@jbedard
jbedard requested a review from dzbarsky April 28, 2026 17:05
@jbedard
jbedard force-pushed the rules_rs-0053 branch 2 times, most recently from 7c1dadd to 27dbd76 Compare April 28, 2026 17:22
Comment thread MODULE.bazel
@jbedard jbedard changed the title chore: upgrade rules_rs and crate deps chore: upgrade rules_rs to 0.0.64 Apr 28, 2026
@jbedard
jbedard marked this pull request as ready for review April 28, 2026 17:33
@jbedard
jbedard enabled auto-merge (squash) April 28, 2026 17:45
@jbedard
jbedard requested a review from xangcastle April 28, 2026 17:45
@jbedard
jbedard disabled auto-merge April 28, 2026 17:46
@jbedard
jbedard enabled auto-merge (squash) April 28, 2026 17:49
rules_rs 0.0.64 bundles its own rules_rust (a fork of 0.69.0) rather
than depending on BCR rules_rust. Switch to its toolchains extension
to register the bundled Rust toolchains.

The bundled rules_rust adds @llvm//constraints/libc:gnu.2.28 to
target_compatible_with for all Linux GNU Rust toolchains. The CI Linux
host platform (auto-detected) lacks this constraint, so set
--platforms and --host_platform to a custom //bazel/platforms:linux_gnu
platform (which inherits host cpu/os and adds gnu.2.28) via
common:linux in both .bazelrc and e2e/.bazelrc.

The bundled rules_rust on macOS expects @macos_sdk to be visible from
the root module, so use_repo it from the @llvm osx extension.
@jbedard
jbedard merged commit 80b04cd into main Apr 29, 2026
3 checks passed
@jbedard
jbedard deleted the rules_rs-0053 branch April 29, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants