Skip to content
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

Rollup of 7 pull requests #128768

Merged
merged 22 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e6d5702
Specify the integer type of the `powi` LLVM intrinsic
tgross35 Jul 12, 2024
82b40c4
Add math intrinsics for `f16` and `f128`
tgross35 Jun 19, 2024
fc43c01
Add math functions for `f16` and `f128`
tgross35 Jun 27, 2024
e18036c
Add `core` functions for `f16` and `f128` that require math routines
tgross35 Jul 17, 2024
4383642
Update comments for `{f16, f32, f64, f128}::midpoint`
tgross35 Jul 18, 2024
8e2ca0c
Add a disclaimer about x86 `f128` math functions
tgross35 Jul 30, 2024
b46237b
Enable msvc for zero-extend-abi-param-passing
ChrisDenton Aug 4, 2024
2e5341a
Enable msvc for no-duplicate-libs
ChrisDenton Aug 4, 2024
d8c2b76
run-make: enable msvc for link-dedup
ChrisDenton Aug 4, 2024
3268b2e
Enable msvc for link-args-order
ChrisDenton Aug 4, 2024
131d453
rewrite raw-dylib-alt-calling-conventions to rmake
Oneirical Jul 23, 2024
f31f8c4
rewrite raw-dylib-c to rmake
Oneirical Jul 23, 2024
011727f
rewrite redundant-libs to rmake
Oneirical Jul 23, 2024
1967951
add test for symbol visibility of `#[naked]` functions
folkertdev Jul 29, 2024
f34ff1e
Trivial grammar fix in const keyword docs
Monadic-Cat Aug 7, 2024
0aaffdb
Rollup merge of #128107 - Oneirical:tomato-hartester, r=jieyouxu
tgross35 Aug 7, 2024
10a7f93
Rollup merge of #128362 - folkertdev:naked-function-symbol-visibility…
tgross35 Aug 7, 2024
b3bfd66
Rollup merge of #128417 - tgross35:f16-f128-math, r=dtolnay
tgross35 Aug 7, 2024
cc42e34
Rollup merge of #128638 - ChrisDenton:link-dedup, r=jieyouxu
tgross35 Aug 7, 2024
0761d2a
Rollup merge of #128647 - ChrisDenton:link-args-order, r=jieyouxu
tgross35 Aug 7, 2024
6ccb356
Rollup merge of #128649 - ChrisDenton:param-passing, r=jieyouxu
tgross35 Aug 7, 2024
701bc03
Rollup merge of #128766 - Monadic-Cat:patch-1, r=tgross35
tgross35 Aug 7, 2024
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
Prev Previous commit
Next Next commit
rewrite raw-dylib-c to rmake
  • Loading branch information
Oneirical committed Aug 5, 2024
commit f31f8c488aa2fa22d595ff64091008da39bfe347
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ run-make/no-alloc-shim/Makefile
run-make/pdb-buildinfo-cl-cmd/Makefile
run-make/pgo-gen-lto/Makefile
run-make/pgo-indirect-call-promotion/Makefile
run-make/raw-dylib-c/Makefile
run-make/redundant-libs/Makefile
run-make/remap-path-prefix-dwarf/Makefile
run-make/reproducible-build-2/Makefile
Expand Down
28 changes: 0 additions & 28 deletions tests/run-make/raw-dylib-c/Makefile

This file was deleted.

29 changes: 29 additions & 0 deletions tests/run-make/raw-dylib-c/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// `raw-dylib` is a Windows-specific attribute which emits idata sections for the items in the
// attached extern block,
// so they may be linked against without linking against an import library.
// To learn more, read https://github.com/rust-lang/rfcs/blob/master/text/2627-raw-dylib-kind.md
// This test is the simplest of the raw-dylib tests, simply smoke-testing that the feature
// can be used to build an executable binary with an expected output with native C files
// compiling into dynamic libraries.
// See https://github.com/rust-lang/rust/pull/86419

//@ only-windows

use run_make_support::{build_native_dynamic_lib, diff, run, rustc};

fn main() {
rustc().crate_type("lib").crate_name("raw_dylib_test").input("lib.rs").run();
rustc().crate_type("bin").input("driver.rs").run();
rustc().crate_type("bin").crate_name("raw_dylib_test_bin").input("lib.rs").run();
build_native_dynamic_lib("extern_1");
build_native_dynamic_lib("extern_2");
let out_driver = run("driver").stdout_utf8();
let out_raw = run("raw_dylib_test_bin").stdout_utf8();

diff()
.expected_file("output.txt")
.actual_text("actual", out_driver)
.normalize(r#"\r"#, "")
.run();
diff().expected_file("output.txt").actual_text("actual", out_raw).run();
}