Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
aa51477
2025-11-11 flake update
palfrey Nov 11, 2025
29064eb
rust-std apple update
palfrey Jan 23, 2026
3b7d7a3
Merge branch 'main' into flake-update-2025-11-11
palfrey Jan 23, 2026
9d1da74
Fix native-cli deps
palfrey Jan 23, 2026
b3cd812
Fix rustc-nightly-aarch64-apple hash
palfrey Jan 26, 2026
8db3940
Update to 2026-02-03
palfrey Feb 3, 2026
4885b6b
Merge branch 'main' into flake-update-2025-11-11
palfrey Feb 3, 2026
afaac79
Fix skopeo and lre
palfrey Feb 3, 2026
e451c85
Update module.modulemap
palfrey Feb 3, 2026
b70b1ab
Regenerate various lre stuff
palfrey Feb 3, 2026
65bda26
Merge branch 'main' into flake-update-2025-11-11
palfrey Feb 13, 2026
cbde348
Upgrade rules_rust
palfrey Feb 13, 2026
73f0c38
Use llvm 22
palfrey Feb 13, 2026
6b7a15f
Build docs_json with just regular nightly, not LRE
palfrey Feb 13, 2026
f3becad
Merge branch 'main' into flake-update-2025-11-11
palfrey Feb 19, 2026
8d8723a
Various more LLVM 22 fixes
palfrey Feb 19, 2026
04f33d2
rmeta fix for lre
palfrey Feb 19, 2026
44ecd60
playwright browsers needs playwright update
palfrey Feb 19, 2026
2603c0c
Disable slow mongo CI
palfrey Feb 19, 2026
16ef6e1
Add libtool to MacOS dev packages
palfrey Feb 19, 2026
b2acbf9
Add our own renovate with libtool
palfrey Feb 19, 2026
3afc25a
Use apple sdk not libtool for macs
palfrey Feb 19, 2026
4cdb9dd
Try renovate using cctools
palfrey Feb 20, 2026
dd411ae
Upgrade glibc to try and fix "undefined symbol: __isoc23_strtol"
palfrey Feb 20, 2026
5eb343d
Try increasing timeouts to see if the mac builds ever finish
palfrey Feb 20, 2026
54023e6
Try disabling all the fortify flags to fix mimalloc
palfrey Feb 23, 2026
9577ebf
Correct minor issue in is-executable-test
palfrey Feb 23, 2026
e57d8df
Update cc and libc; fix craneLibFor for nightly
palfrey Feb 23, 2026
01040ee
Merge branch 'main' into flake-update-2025-11-11
palfrey Feb 23, 2026
4684f00
ASAN testing flagged a pile of issues
palfrey Feb 23, 2026
bef840c
Fix coverage compiler
palfrey Feb 23, 2026
7d1a02b
femit-all-decls doesn't work
palfrey Feb 24, 2026
3280fa3
Merge branch 'main' into flake-update-2025-11-11
palfrey Feb 26, 2026
93bcf7a
Update to 2026-02-26
palfrey Feb 26, 2026
cf9b292
Disable branch coverage as it's broken
palfrey Feb 26, 2026
d76caa0
Ignore buildifier warnings
palfrey Feb 26, 2026
591a4dd
Merge branch 'main' into flake-update-2025-11-11
palfrey Mar 9, 2026
2b6239d
nixpkgs 2026-03-24
palfrey Mar 24, 2026
9fb4929
Merge branch 'main' into flake-update-2025-11-11
palfrey Mar 24, 2026
9bcaa0f
Latest rust nightly
palfrey Mar 24, 2026
50b32ca
Upgrade buck2 rust
palfrey Mar 24, 2026
a8228ee
Fix ASAN issues with private RequestComponents
palfrey Mar 24, 2026
6160acb
Newer rust build fixes
palfrey Mar 24, 2026
6542473
Upgrade apple sdk to 14
palfrey Mar 25, 2026
47b5483
Use mimalloc v3
palfrey Mar 25, 2026
3e17de1
Disable macos_minimum_os_feature
palfrey Mar 25, 2026
a0970e3
Reset cc/libc versions
palfrey Mar 25, 2026
9b07c61
Merge branch 'main' into flake-update-2025-11-11
palfrey Mar 27, 2026
a051ccc
Newer rust fixes
palfrey Mar 27, 2026
f0cb912
Update free-disk-space
palfrey Mar 27, 2026
d2f7826
Set macos-sdk-version for mimalloc
palfrey Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ build --@rules_rust//:clippy_flag=-Dclippy::std_instead_of_core
build --@rules_rust//:clippy_flag=-Dclippy::string_lit_as_bytes
build --@rules_rust//:clippy_flag=-Dclippy::todo
build --@rules_rust//:clippy_flag=-Aclippy::too_long_first_doc_paragraph
build --@rules_rust//:clippy_flag=-Dclippy::unchecked_duration_subtraction
build --@rules_rust//:clippy_flag=-Dclippy::unchecked_time_subtraction
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream renamed this

build --@rules_rust//:clippy_flag=-Wclippy::unimplemented
build --@rules_rust//:clippy_flag=-Dclippy::unnecessary_semicolon
build --@rules_rust//:clippy_flag=-Aclippy::unwrap_in_result
Expand Down Expand Up @@ -195,6 +195,9 @@ build:windows --cxxopt=/std:c++14 --host_cxxopt=/std:c++14
build:windows --enable_runfiles
build:windows --extra_toolchains=@rust_toolchains//:all # Doesn't support LRE.

# Configuration options for MacOS builds
build --macos_sdk_version=10.12 # For clock_gettime in mimalloc

# rustfmt
# TODO(palfrey): compatibility workaround for https://github.com/bazelbuild/rules_rust/issues/3493
build:rustfmt --@rules_rust//:extra_rustc_flag=-Aunused_qualifications
Expand Down
18 changes: 2 additions & 16 deletions .github/actions/free-disk/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ runs:
using: "composite"
steps:
- name: Free disk space
uses: >- # v3.1.0
endersonmenezes/free-disk-space@e6ed9b02e683a3b55ed0252f1ee469ce3b39a885
uses: >- # v3.2.2
endersonmenezes/free-disk-space@7901478139cff6e9d44df5972fd8ab8fcade4db1
with:
rm_cmd: "rmz" # For speed up
remove_android: false # Takes too long.
Expand All @@ -32,17 +32,3 @@ runs:
/usr/share/glade*
/usr/local/share/chromium
/usr/local/share/powershell

- name: Delete platform specific items to free up disk space
shell: bash
run: |
if [ "$(uname)" = "Darwin" ]; then
echo "Deleting Applications"
sudo rm -rf ~/Applications/*
echo "Deleting all iOS simulators"
xcrun simctl delete all
echo "Deleting iOS Simulator caches"
sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/*
else
echo "Nothing to do here."
fi
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaks with new MacOS sometimes

2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
coverage:
name: Coverage
runs-on: xlarge-ubuntu-24.04
timeout-minutes: 45
timeout-minutes: 180
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not needed anymore as this was actually a build problem, but nice to have just in case

steps:
- name: Checkout
uses: >- # v4.2.2
Expand Down
86 changes: 43 additions & 43 deletions .github/workflows/lre.yaml
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-enabled the local part of this so I could check I wasn't breaking it, because I did repeatedly during this PR

Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
# ---
# name: Local Remote Execution
name: Local Remote Execution

# on:
# push:
# branches: [main]
# paths-ignore:
# - '.github/styles/**'
# - 'web/**'
# pull_request:
# branches: [main]
# paths-ignore:
# - '.github/styles/**'
# - 'web/**'
on:
push:
branches: [main]
paths-ignore:
- '.github/styles/**'
- 'web/**'
pull_request:
branches: [main]
paths-ignore:
- '.github/styles/**'
- 'web/**'

# permissions: read-all
permissions: read-all

# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

# jobs:
# local:
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-24.04, macos-26]
# toolchain: [lre-cc, lre-rs]
# exclude:
# - os: macos-26
# toolchain: lre-cc
# name: Local / ${{ matrix.toolchain }} / ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# timeout-minutes: 45
# steps:
# - name: Checkout
# uses: >- # v4.2.2
# actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
jobs:
local:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-26]
toolchain: [lre-cc, lre-rs]
exclude:
- os: macos-26
toolchain: lre-cc
name: Local / ${{ matrix.toolchain }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 45
steps:
- name: Checkout
uses: >- # v4.2.2
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

# - name: Prepare Worker
# uses: ./.github/actions/prepare-nix
- name: Prepare Worker
uses: ./.github/actions/prepare-nix

# - name: Build example with ${{ matrix.toolchain }} toolchain
# env:
# TOOLCHAIN: ${{ matrix.toolchain }}
# run: >
# nix develop --impure --command
# bash -c "bazel run \
# --verbose_failures \
# @local-remote-execution//examples:${TOOLCHAIN}"
- name: Build example with ${{ matrix.toolchain }} toolchain
env:
TOOLCHAIN: ${{ matrix.toolchain }}
run: >
nix develop --impure --command
bash -c "bazel run \
--verbose_failures \
@local-remote-execution//examples:${TOOLCHAIN}"

# remote:
# strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
os: [ubuntu-24.04, macos-26]
name: Bazel Dev / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 45
timeout-minutes: 180
steps:
- name: Checkout
uses: >- # v4.2.2
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
os: [ubuntu-24.04, macos-26]
name: Cargo Dev / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 45
timeout-minutes: 180
steps:
- name: Checkout
uses: >- # v4.2.2
Expand All @@ -80,7 +80,7 @@ jobs:
- macos-26
name: Installation / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 45
timeout-minutes: 180
steps:
- name: Checkout
uses: >- # v4.2.2
Expand All @@ -97,7 +97,7 @@ jobs:
name: ${{ matrix.test-name }}
strategy:
matrix:
test-name: [buildstream, mongo, buck2, rbe-toolchain]
test-name: [buildstream, buck2, rbe-toolchain] # Disabling mongo as it has to build all of mongo from scratch for some reason
runs-on: ubuntu-24.04
timeout-minutes: 45
steps:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resolver = "2"
[package]
edition = "2024"
name = "nativelink"
rust-version = "1.87.0"
rust-version = "1.93.1"
version = "1.0.0"

[profile.release]
Expand Down Expand Up @@ -57,7 +57,7 @@ hyper = { version = "1.6.0", default-features = false }
hyper-util = { version = "0.1.11", default-features = false, features = [
"tracing",
] }
mimalloc = { version = "0.1.44", default-features = false }
mimalloc = { version = "0.1.48", default-features = false, features = ["v3"] }
rand = { version = "0.9.0", default-features = false, features = [
"thread_rng",
] }
Expand Down Expand Up @@ -171,7 +171,7 @@ single-char-pattern = "deny"
std-instead-of-core = "deny"
string-lit-as-bytes = "deny"
todo = "deny"
unchecked-duration-subtraction = "deny"
unchecked-time-subtraction = "deny"
unnecessary-semicolon = "deny"
used-underscore-binding = "deny"
useless-format = "deny"
Expand Down
56 changes: 28 additions & 28 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ module(
compatibility_level = 0,
)

bazel_dep(name = "rules_cc", version = "0.1.5")
bazel_dep(name = "rules_cc", version = "0.2.8")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "rules_python", version = "1.3.0") # TODO(palfrey): Bump.
bazel_dep(name = "rules_shell", version = "0.4.1")
bazel_dep(name = "rules_shell", version = "0.6.1")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
Expand All @@ -17,14 +17,14 @@ python.toolchain(
)
use_repo(python, python = "python_versions")

bazel_dep(name = "rules_rust", version = "0.61.0")
bazel_dep(name = "rules_rust", version = "0.68.1")
archive_override(
module_name = "rules_rust",
integrity = "sha256-U8G6x+xI985IxMHGqgBvJ1Fa3SrrBXJZNyJObgDsfOo=",
integrity = "sha256-yKqAbPYGZnmsI0YyQe6ArWkiZdrQRl9RERy74wuJA1I=",
patch_strip = 1,
patches = ["//tools:rules_rust-musl-platforms.diff"],
urls = [
"https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/rules_rust-0.61.0.tar.gz",
"https://github.com/bazelbuild/rules_rust/releases/download/0.68.1/rules_rust-0.68.1.tar.gz",
],
)

Expand Down Expand Up @@ -76,34 +76,34 @@ rust.toolchain(
edition = "2024",

# These should always follow the versions from LRE.
rust_analyzer_version = "nightly/2025-05-21",
rustfmt_version = "nightly/2025-05-21",
rust_analyzer_version = "nightly/2026-03-24",
rustfmt_version = "nightly/2026-03-24",
sha256s = {
# Update the shas with update-module-hashes
# BEGIN SHAS
"2025-05-21/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz": "e866f249dfbdf10a68b7191c025257591e8a5aa2fede1663b34c88a4f4bb8a74",
"2025-05-21/clippy-nightly-x86_64-unknown-linux-gnu.tar.xz": "0a312d722a94e3b9e1f7871d9a9af01d410917c2406dbf91d014c06fe79540fb",
"2025-05-21/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.xz": "eee28e99ac24c27f3de969915e808c0645ee099b136e5547681110607d09d050",
"2025-05-21/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz": "0985b6a8befea11c3f1465faac0adc8193a93512ede2fbe8afd3e6e84dd507e8",
"2025-05-21/rustc-nightly-aarch64-apple-darwin.tar.xz": "f2c390199913eed60e2e0045afe96aa302e79977916deabc738dc39f2e16dc0d",
"2025-05-21/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz": "ad97dbb43664f7dab1a32c4b22ee08ba40306e80972cb5583d7c16f2bf0a36df",
"2025-05-21/rustfmt-nightly-aarch64-apple-darwin.tar.xz": "1409e65606d2db4ae6792ab9b075bf10986a0b6665dc54df575ce66a41efccdc",
"2025-05-21/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz": "41ef09602146fe9ee9f2cdcea4341510551a80dcbdb55cb231b6b0e718a03eab",
"cargo-1.87.0-aarch64-apple-darwin.tar.xz": "f8d6f554e5ed081de5c3fd23cf2f30f4012013e95fb7a5458a50d8215651fb88",
"cargo-1.87.0-x86_64-unknown-linux-gnu.tar.xz": "469d5dc479835adadd728bc3587f8abf1941b3dd71f9865abd3e0783ae662555",
"clippy-1.87.0-aarch64-apple-darwin.tar.xz": "eeadac2cc415890d952510bd32110da8ea14a710e997ae696212294b4401740f",
"clippy-1.87.0-x86_64-unknown-linux-gnu.tar.xz": "9d440eef6811112a000acf96a062df7bcbc013fa4f8e00a7f9a4f57ef90637a1",
"llvm-tools-1.87.0-aarch64-apple-darwin.tar.xz": "7efc6357a4422ca648ce027cc4c8bd7c36676bc38b1a82c17ccb2ad6dcd5d7a5",
"llvm-tools-1.87.0-x86_64-unknown-linux-gnu.tar.xz": "872fdd4b3b8f6bcb01d20aae02cdd7848472386c9ba54c641d63ff82246ae935",
"rust-std-1.87.0-aarch64-apple-darwin.tar.xz": "6547322b317f18b73695724ff60a7860457df1a646b4a79f89a70a13d0747375",
"rust-std-1.87.0-x86_64-unknown-linux-gnu.tar.xz": "1b57253bd32b8b292c965b3a2d992a266763158494cab8555584c09360b90f77",
"rustc-1.87.0-aarch64-apple-darwin.tar.xz": "175800bc89cccd8f8ee2f3a4d07bdf98c163030fd5d3dc6d5b23cf4dd0a2a4c3",
"rustc-1.87.0-x86_64-unknown-linux-gnu.tar.xz": "e8395c5c5756253b76107055e093ffbc4431af7b30aeebe72ce2684b9cb53973",
"2026-03-24/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz": "952622b3830be1cd0cc06544972d9b9cbea361bb1a155e5aacf88102dfc5b9bf",
"2026-03-24/clippy-nightly-x86_64-unknown-linux-gnu.tar.xz": "c7e66ea9a6d6a5b9af6f55b24f7709874e06c43a9cacb5d68d30b960ecbab230",
"2026-03-24/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.xz": "50a82652bad87dcae1b08127e888991d514b018851c3378b862752155e29b3ec",
"2026-03-24/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz": "5c0c15c08c9e727d3544c521aa48168bd32b24ef9eec814bae5786b5194f31bf",
"2026-03-24/rustc-nightly-aarch64-apple-darwin.tar.xz": "9310535abcfe2b1b86e4e8a1e6455e622ad5435a5281a6133aa7e6aa0bd4aa3d",
"2026-03-24/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz": "7183776faefeb29ca430ee91f49a157491e82ce5ef158f082b3876648bba0406",
"2026-03-24/rustfmt-nightly-aarch64-apple-darwin.tar.xz": "3f989cd84234158dfe240571ec18441bfb586d9fcc4c06036a766a705ea6a69b",
"2026-03-24/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz": "0eeef38fe72a1a718b19256cd1e5f92c96ee9d39eb6b9324f2514a674f1e4308",
"cargo-1.93.1-aarch64-apple-darwin.tar.xz": "ecd50b093656061366c5af1184af10d883f21bddb482a9c2142fe860c0f671b2",
"cargo-1.93.1-x86_64-unknown-linux-gnu.tar.xz": "dbf12e8fd2a245a6bdd9f6c8df267cb2c25b0c56866ee91d8321337df0a00ddb",
"clippy-1.93.1-aarch64-apple-darwin.tar.xz": "33d57654b0f19360cc4deecbaf248586f89ce9d345df2d54ee8d5541cf7c9f95",
"clippy-1.93.1-x86_64-unknown-linux-gnu.tar.xz": "60c0ce83ecc1700de724404a928c30d096c178a610c6707d4f06cee25284cc02",
"llvm-tools-1.93.1-aarch64-apple-darwin.tar.xz": "d61834568e6e591db13ad235e09c3c65e2f10c099c29bfd8eec018f6c9f55462",
"llvm-tools-1.93.1-x86_64-unknown-linux-gnu.tar.xz": "f32c5405d7765ffd18554e01f59eff1db32e22813a529425f4ad8903722b594e",
"rust-std-1.93.1-aarch64-apple-darwin.tar.xz": "dd278e6eb993ddffb190442ca11ed1e118c1edaf04114910e3c8c652f6423f65",
"rust-std-1.93.1-x86_64-unknown-linux-gnu.tar.xz": "82c4e41268f1741e4eb68796aeb6ca5042406ae858dd56144155c4ef8d87d8b6",
"rustc-1.93.1-aarch64-apple-darwin.tar.xz": "d103a0ee04c121b30cf061c7ad1456daaebd7ff0a7ea5fdb64acf92d86cb25fd",
"rustc-1.93.1-x86_64-unknown-linux-gnu.tar.xz": "b9db2636f5a101c4cdaf46a26f8a0c8e4b5767ecdb02ae9c7ccc3ead577732bc",
# END SHAS
},
versions = [
"1.87.0",
"nightly/2025-05-21",
"1.93.1",
"nightly/2026-03-24",
],
)
use_repo(rust, "rust_toolchains")
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ disallowed-methods = [
{ path = "tokio::task::spawn_blocking", reason = "use `nativelink-util::task::spawn_blocking` instead" },
{ path = "tokio::task::spawn_local", reason = "use one of the `nativelink-util::task` functions instead" },
]
msrv = "1.87.0"
msrv = "1.93.1"
1 change: 0 additions & 1 deletion flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
options.perSystem = flake-parts-lib.mkPerSystemOption (
{
config,
options,
pkgs,
...
}: let
Expand Down
Loading
Loading