Skip to content

Commit 3986b3b

Browse files
committed
Merge remote-tracking branch 'felipeamp/main' into add-feature-flag-and-change-rust-test-compilation-output-dir
2 parents 0656abd + 5063cd8 commit 3986b3b

File tree

487 files changed

+11270
-44663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

487 files changed

+11270
-44663
lines changed

.bazelci/presubmit.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
minimum_bazel_version: &minimum_bazel_version "6.4.0"
2+
minimum_bazel_version: &minimum_bazel_version "7.3.1"
33
aspects_flags: &aspects_flags
44
- "--config=rustfmt"
55
- "--config=clippy"
@@ -655,6 +655,14 @@ tasks:
655655
- "//..."
656656
test_targets:
657657
- "//..."
658+
musl_cross_compiling_linux_to_linux:
659+
name: Musl cross compiling test from Linux to Linux
660+
platform: ubuntu2204
661+
working_directory: examples/musl_cross_compiling
662+
build_targets:
663+
- "//..."
664+
test_targets:
665+
- "//..."
658666
nix_cross_compiling:
659667
name: Nix cross compiling test
660668
platform: ubuntu2204

.github/workflows/docs.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Docs-CI/CD
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types:
9+
- opened
10+
- synchronize
11+
12+
jobs:
13+
docs:
14+
name: Docs
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@master
18+
- name: Install Rust
19+
run: |
20+
rustup set profile minimal
21+
rustup toolchain install stable
22+
rustup default stable
23+
- name: Install latest mdbook
24+
run: |
25+
tag=$(curl 'https://github.com/api/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
26+
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
27+
mkdir bin
28+
curl -sSL $url | tar -xz --directory=bin
29+
echo "$(pwd)/bin" >> $GITHUB_PATH
30+
- name: Run tests
31+
run: mdbook build
32+
working-directory: docs
33+
- name: Deploy to GitHub Pages
34+
if: github.ref == 'refs/heads/main'
35+
uses: JamesIves/[email protected]
36+
with:
37+
branch: gh-pages # The branch the action should deploy to.
38+
folder: docs/book # The folder the action should deploy.

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module(
44
name = "rules_rust",
5-
version = "0.49.3",
5+
version = "0.50.1",
66
)
77

88
bazel_dep(

bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen/3rdparty/crates/BUILD.clang-sys-1.6.1.bazel

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen/3rdparty/crates/BUILD.libc-0.2.146.bazel

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen/3rdparty/crates/BUILD.rustix-0.37.20.bazel

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildifier

7.93 MB
Binary file not shown.

cargo/defs.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ load(
55
_cargo_bootstrap_repository = "cargo_bootstrap_repository",
66
_cargo_env = "cargo_env",
77
)
8-
load(
9-
"//cargo/private:cargo_build_script.bzl",
10-
_cargo_dep_env = "cargo_dep_env",
11-
)
128
load(
139
"//cargo/private:cargo_build_script_wrapper.bzl",
1410
_cargo_build_script = "cargo_build_script",
1511
)
12+
load(
13+
"//cargo/private:cargo_dep_env.bzl",
14+
_cargo_dep_env = "cargo_dep_env",
15+
)
1616

1717
cargo_bootstrap_repository = _cargo_bootstrap_repository
1818
cargo_env = _cargo_env

0 commit comments

Comments
 (0)