Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
921b6c0
If HOME is empty, use the fallback instead
ChrisDenton May 31, 2025
f75595d
add codegen test for variadics (also replacing some existing does-thi…
RalfJung Jul 23, 2025
732097e
disable cfg.has_reliable_f128 on amdgcn
ZuseZ4 Jul 23, 2025
1de927c
library/windows_targets: Fix macro expansion error in 'link' macro
itf Jul 24, 2025
3d0dedd
Enable outline-atomics for aarch64-unknown-linux-musl
Gelbpunkt Jul 25, 2025
546885c
tests: aarch64-outline-atomics: Remove hardcoded target
Gelbpunkt Jul 25, 2025
73e534b
Revert "Move `shared_helpers` test to a dedicated module"
jieyouxu Jul 25, 2025
430f4f5
Check `./x check bootstrap` in `pr-check-1`
jieyouxu Jul 25, 2025
25036f5
canonicalize build root in `tests/run-make/linker-warning`
WaffleLapkin Jul 25, 2025
3dac888
Only run bootstrap tests in `x test` on CI
Kobzol Jul 25, 2025
96340f6
Stop compilation if macro expansion failed
GuillaumeGomez Jul 24, 2025
5dddba5
Add missing `NOTE` annotations in `tests/ui/macros/trace-macro.rs`
GuillaumeGomez Jul 24, 2025
2725138
Update ui tests with new macro early erroring
GuillaumeGomez Jul 24, 2025
57481e7
clif: Don't set the `compiler-builtins-no-f16-f128` feature
tgross35 Jul 25, 2025
2b17897
Revert "coverage: Enlarge empty spans during MIR instrumentation, not…
Zalathar Jul 26, 2025
69ebf70
test using multiple c-variadic ABIs in the same program
folkertdev Jul 23, 2025
85e5100
Rollup merge of #141840 - ChrisDenton:noempty, r=ChrisDenton
jhpratt Jul 27, 2025
e2c2d1a
Rollup merge of #144359 - RalfJung:vararg-codegen, r=compiler-errors
jhpratt Jul 27, 2025
c96c802
Rollup merge of #144379 - folkertdev:c-variadic-same-program-multiple…
jhpratt Jul 27, 2025
2c395c7
Rollup merge of #144383 - ZuseZ4:disable-f128-on-amdgcn, r=oli-obk
jhpratt Jul 27, 2025
c92d61d
Rollup merge of #144409 - GuillaumeGomez:macro-expansion-early-abort,…
jhpratt Jul 27, 2025
d809998
Rollup merge of #144422 - itf:itf-patch-2-1, r=ChrisDenton
jhpratt Jul 27, 2025
aaa37e5
Rollup merge of #144429 - Gelbpunkt:outline-atomics-aarch64-musl, r=A…
jhpratt Jul 27, 2025
ba4a691
Rollup merge of #144430 - Gelbpunkt:aarch64-outline-atomics-target, r…
jhpratt Jul 27, 2025
c5e81ea
Rollup merge of #144445 - jieyouxu:revert-shared_helpers_tests, r=Kobzol
jhpratt Jul 27, 2025
e04daf9
Rollup merge of #144453 - WaffleLapkin:canonical-build-root, r=jieyouxu
jhpratt Jul 27, 2025
2c0a331
Rollup merge of #144464 - Kobzol:x-test-default, r=jieyouxu
jhpratt Jul 27, 2025
d250b5c
Rollup merge of #144470 - tgross35:clif-remove-no-f16-f128, r=bjorn3
jhpratt Jul 27, 2025
8aa3d41
Rollup merge of #144480 - Zalathar:revert-empty-span, r=Zalathar
jhpratt Jul 27, 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
16 changes: 3 additions & 13 deletions library/windows_targets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,12 @@ pub macro link_dylib {

#[cfg(feature = "windows_raw_dylib")]
pub macro link($($tt:tt)*) {
$crate::link_raw_dylib!($($tt)*)
$crate::link_raw_dylib!($($tt)*);
}

#[cfg(not(feature = "windows_raw_dylib"))]
pub macro link {
($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => (
// Note: the windows-targets crate uses a pre-built Windows.lib import library which we don't
// have in this repo. So instead we always link kernel32.lib and add the rest of the import
// libraries below by using an empty extern block. This works because extern blocks are not
// connected to the library given in the #[link] attribute.
#[link(name = "kernel32")]
unsafe extern $abi {
$(#[link_name=$link_name])?
pub fn $($function)*;
}
)
pub macro link($($tt:tt)*) {
$crate::link_dylib!($($tt)*);
}

#[cfg(not(feature = "windows_raw_dylib"))]
Expand Down