Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
86 changes: 43 additions & 43 deletions .github/workflows/lre.yaml
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-15]
# toolchain: [lre-cc, lre-rs]
# exclude:
# - os: macos-15
# 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-15]
toolchain: [lre-cc, lre-rs]
exclude:
- os: macos-15
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
2 changes: 1 addition & 1 deletion 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.89.0"
version = "0.7.5"

[profile.release]
Expand Down
44 changes: 22 additions & 22 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,31 +75,31 @@ 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/2025-11-11",
rustfmt_version = "nightly/2025-11-11",
sha256s = {
"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",
"2025-11-11/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz": "6b2b0e21d6a906655b9bc6977735e52f89641202b216ec9a7d0b0d70736a81a4",
"2025-11-11/clippy-nightly-x86_64-unknown-linux-gnu.tar.xz": "766a5b2ab46caf804994ebe95771db9324c7beec89f019d668e348665cabe308",
"2025-11-11/llvm-tools-nightly-x86_64-unknown-linux-gnu.tar.xz": "e6ce5f12ff6f185a45adbd23bfbd19d386dae8027ba034b2a2d2c7fa48b782ad",
"2025-11-11/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz": "28ded1b939faac3a50c43ffa6962b384ea5949f4c609e4b565b66a2b14b43b18",
"2025-11-11/rustc-nightly-aarch64-apple-darwin.tar.xz": "d2c390199913eed60e2e0045afe96aa302e79977916deabc738dc39f2e16dc0d",
"2025-11-11/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz": "79d7ebcb718592f4b1ab49ec649419c1746e71b182e1c7d673baca50c7f1bc03",
"2025-11-11/rustfmt-nightly-aarch64-apple-darwin.tar.xz": "015e3a7d87be66c8189a69b6a4031f7d0f149e4ec1ee1cfc0c86f389b1da6c5c",
"2025-11-11/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz": "23e83fa46e72480edc85bdb784d303b8eba22fa89409f441abb295052a64a219",
"cargo-1.89.0-aarch64-apple-darwin.tar.xz": "545517d16ac76789aa6ce801cbc3eeecc9acaf43f3ccb63148c3577f2bb4b8d3",
"cargo-1.89.0-x86_64-unknown-linux-gnu.tar.xz": "99fc10be2aeedf2c23a484f217bfa76458494495a0eee33e280d3616bb08282d",
"clippy-1.89.0-aarch64-apple-darwin.tar.xz": "de10f0b543f76ff656f0599f58e9c4ac6bafa0c2a5595bc5894c4fd3aa4328f8",
"clippy-1.89.0-x86_64-unknown-linux-gnu.tar.xz": "c6c362c6cd74567022e9ba0c16f6676f8c2b73d955adcf1f6f4c51cf15e57ce8",
"llvm-tools-1.89.0-aarch64-apple-darwin.tar.xz": "cdd3d0d06fbfc100e13ffcfb14e33b2f3469f72564cced86f9c82ebe295b880a",
"llvm-tools-1.89.0-x86_64-unknown-linux-gnu.tar.xz": "bb0ced899fd1ac628f26e375adabc970b415c516ec82fb7cf9ac3c63cb4d0fee",
"rust-std-1.89.0-aarch64-apple-darwin.tar.xz": "5547322b317f18b73695724ff60a7860457df1a646b4a79f89a70a13d0747375",
"rust-std-1.89.0-x86_64-unknown-linux-gnu.tar.xz": "2719470dcd78b3f97d78b978c8f85a1a58d84ff11b62558294621c01bca34d49",
"rustc-1.89.0-aarch64-apple-darwin.tar.xz": "6d2cf6164bef00ff3d2c37ca0a0658ffb7c9c3178882a72d78e35abeba888860",
"rustc-1.89.0-x86_64-unknown-linux-gnu.tar.xz": "b42c254e1349df86bd40bc28fdf386172a1a46f2eeabe3c7a08a75cf1fb60e27",
},
versions = [
"1.87.0",
"nightly/2025-05-21",
"1.89.0",
"nightly/2025-11-11",
],
)
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.89.0"
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
84 changes: 25 additions & 59 deletions flake.lock

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

Loading
Loading