Skip to content

Subtree sync for rustc_codegen_cranelift #135125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 46 commits into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
e8ad199
Merge commit '57845a397ec15e4e6a561ed2c4bfa3dcf49144fb' into sync_cg_…
bjorn3 Dec 6, 2024
294d2da
Merge branch 'sync_from_rust'
bjorn3 Dec 6, 2024
e7e58f4
Move some timers around
bjorn3 Nov 9, 2024
4d01ca8
Remove polymorphization
saethlin Dec 5, 2024
03746a5
Make `Copy` unsafe to implement for ADTs with `unsafe` fields
jswrenn Dec 6, 2024
14f1291
Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot
matthiaskrgr Dec 9, 2024
1c9a333
Rollup merge of #134008 - jswrenn:unsafe-fields-copy, r=compiler-errors
fmease Dec 10, 2024
14fbfb0
Sync from rust 33c245b9e98bc91e18ea1c5033824f4c6f92766f
bjorn3 Dec 11, 2024
e1461e2
Rustup to rustc 1.85.0-nightly (33c245b9e 2024-12-10)
bjorn3 Dec 11, 2024
3ebaf04
Fix rustc test suite
bjorn3 Dec 11, 2024
8d3a263
generalize 'forbidden feature' concept so that even (un)stable featur…
RalfJung Nov 16, 2024
37b47f9
Remove jobserver from Session
bjorn3 Dec 12, 2024
c99d4f0
Make dependency_formats an FxIndexMap rather than a list of tuples
bjorn3 Dec 12, 2024
884dcee
Rollup merge of #134251 - bjorn3:various_cleanups2, r=oli-obk
matthiaskrgr Dec 14, 2024
4dd8941
Re-export more `rustc_span::symbol` things from `rustc_span`.
nnethercote Dec 12, 2024
2d32e43
Variants::Single: do not use invalid VariantIdx for uninhabited enums
RalfJung Dec 1, 2024
a6cf662
make no-variant types a dedicated Variants variant
RalfJung Dec 1, 2024
1587f77
Sync from rust a4cb3c831823d9baa56c3d90514b75b2660116fa
bjorn3 Dec 18, 2024
076ae56
Rustup to rustc 1.85.0-nightly (a4cb3c831 2024-12-17)
bjorn3 Dec 18, 2024
67c241e
Fix rustc test suite
bjorn3 Dec 18, 2024
3227f35
chore: fix some typos
acceptacross Dec 18, 2024
9f50fa7
Ensure user trap code 0 is never used
bjorn3 Dec 18, 2024
a220a53
Disable testing on wine
bjorn3 Dec 18, 2024
8521e70
Simplify RelPath implementation
bjorn3 Dec 18, 2024
cae568e
Use the compiler returned by build_sysroot for benchmarking
bjorn3 Dec 18, 2024
88139f0
Move the benchmark markdown files from dist/ to build/
bjorn3 Dec 18, 2024
53bbef8
Remove host and target configuration from config.txt
bjorn3 Dec 18, 2024
b046e32
hook up tracing to cg_cranelift
jyn514 Dec 18, 2024
47e42c8
Rollup merge of #133702 - RalfJung:single-variant, r=oli-obk
jieyouxu Dec 19, 2024
da415e1
Merge pull request #1550 from jyn514/logging
bjorn3 Dec 19, 2024
c529158
Sync from rust 4ba4ac612d36e3409e8e1e31e12acc028808f85f
bjorn3 Dec 19, 2024
ad2b9ac
Rustup to rustc 1.85.0-nightly (4ba4ac612 2024-12-18)
bjorn3 Dec 19, 2024
1f66d7d
Make DependencyList an IndexVec
bjorn3 Dec 12, 2024
5e58dc1
Delete `Rvalue::Len`
scottmcm Dec 14, 2024
cd271d8
Update `compiler-builtins` to 0.1.140
tgross35 Dec 27, 2024
446c582
Sync from rust dd84b7d5eec3c20d7fcd13e6450af029d3cece9d
bjorn3 Dec 28, 2024
a177ed5
Rustup to rustc 1.85.0-nightly (dd84b7d5e 2024-12-27)
bjorn3 Dec 28, 2024
1723075
Fix rustc test suite
bjorn3 Dec 28, 2024
7f98f34
Update to Cranelift 0.115
bjorn3 Dec 5, 2024
4cc1c90
Use -ffunction-sections by default again
bjorn3 Dec 28, 2024
113af15
Stop building and testing mingw cross-toolchain
bjorn3 Dec 29, 2024
36376f5
Sync from rust 1891c28669863bf7ed3ef8f43f2d3fa546f34861
bjorn3 Jan 5, 2025
62d3654
Rustup to rustc 1.86.0-nightly (1891c2866 2025-01-04)
bjorn3 Jan 5, 2025
918acaf
Fix rustc test suite
bjorn3 Jan 5, 2025
a94e2d5
Merge commit '918acafef682d0d0ca30b47de4768210417ff362' into sync_cg_…
bjorn3 Jan 5, 2025
8e51a89
Update tidy
bjorn3 Jan 5, 2025
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
35 changes: 0 additions & 35 deletions compiler/rustc_codegen_cranelift/.github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ jobs:
- os: macos-latest
env:
TARGET_TRIPLE: x86_64-apple-darwin
# cross-compile from Linux to Windows using mingw
- os: ubuntu-latest
env:
TARGET_TRIPLE: x86_64-pc-windows-gnu
apt_deps: gcc-mingw-w64-x86-64 wine-stable
- os: ubuntu-latest
env:
TARGET_TRIPLE: aarch64-unknown-linux-gnu
Expand Down Expand Up @@ -113,15 +108,6 @@ jobs:
- name: Prepare dependencies
run: ./y.sh prepare

# The Wine version shipped with Ubuntu 22.04 doesn't implement bcryptprimitives.dll
- name: Build bcryptprimitives.dll shim for Wine
if: matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
run: |
rustup target add x86_64-pc-windows-gnu
mkdir wine_shims
rustc patches/bcryptprimitives.rs -Copt-level=3 -Clto=fat --out-dir wine_shims --target x86_64-pc-windows-gnu
echo "WINEPATH=$(pwd)/wine_shims" >> $GITHUB_ENV

- name: Build
run: ./y.sh build --sysroot none

Expand All @@ -135,9 +121,6 @@ jobs:

# This is roughly config rust-lang/rust uses for testing
- name: Test with LLVM sysroot
# Skip native x86_64-pc-windows-gnu. It is way too slow and cross-compiled
# x86_64-pc-windows-gnu covers at least part of the tests.
if: matrix.os != 'windows-latest' || matrix.env.TARGET_TRIPLE != 'x86_64-pc-windows-gnu'
env:
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
run: ./y.sh test --sysroot llvm --no-unstable-features
Expand Down Expand Up @@ -215,10 +198,6 @@ jobs:
- os: macos-latest
env:
TARGET_TRIPLE: aarch64-apple-darwin
# cross-compile from Linux to Windows using mingw
- os: ubuntu-latest
env:
TARGET_TRIPLE: x86_64-pc-windows-gnu
- os: windows-latest
env:
TARGET_TRIPLE: x86_64-pc-windows-msvc
Expand All @@ -243,12 +222,6 @@ jobs:
if: matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
run: rustup set default-host x86_64-apple-darwin

- name: Install MinGW toolchain
if: matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
run: |
sudo apt-get update
sudo apt-get install -y gcc-mingw-w64-x86-64

- name: Prepare dependencies
run: ./y.sh prepare

Expand All @@ -262,19 +235,11 @@ jobs:
run: tar cvfJ cg_clif.tar.xz dist

- name: Upload prebuilt cg_clif
if: matrix.os == 'windows-latest' || matrix.env.TARGET_TRIPLE != 'x86_64-pc-windows-gnu'
uses: actions/upload-artifact@v4
with:
name: cg_clif-${{ matrix.env.TARGET_TRIPLE }}
path: cg_clif.tar.xz

- name: Upload prebuilt cg_clif (cross compile)
if: matrix.os != 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
uses: actions/upload-artifact@v4
with:
name: cg_clif-${{ runner.os }}-cross-x86_64-mingw
path: cg_clif.tar.xz

release:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
Loading
Loading