Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 28, 2025. It is now read-only.
/rustPublic archive
forked fromrust-lang/rust

Commit7e76a62

Browse files
authored
Unrolled build forrust-lang#127116
Rollup merge ofrust-lang#127116 - GuillaumeGomez:run-make-return-non-c-like-enum, r=Kobzol,jieyouxuMigrate `run-make/return-non-c-like-enum` to `rmake.rs`Part ofrust-lang#121876.r? `@Kobzol`
2 parentsf845335 +8cbeeda commit7e76a62

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

‎src/tools/tidy/src/allowed_run_make_makefiles.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ run-make/remap-path-prefix/Makefile
147147
run-make/reproducible-build-2/Makefile
148148
run-make/reproducible-build/Makefile
149149
run-make/return-non-c-like-enum-from-c/Makefile
150-
run-make/return-non-c-like-enum/Makefile
151150
run-make/rlib-chain/Makefile
152151
run-make/rlib-format-packed-bundled-libs-2/Makefile
153152
run-make/rlib-format-packed-bundled-libs-3/Makefile

‎tests/run-make/return-non-c-like-enum/Makefile‎

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Check that we treat enum variants like union members in call ABIs.
2+
// Added in #68443.
3+
// Original issue: #68190.
4+
5+
//@ ignore-cross-compile
6+
7+
use run_make_support::{cc, extra_c_flags, extra_cxx_flags, run, rustc, static_lib_name};
8+
9+
fnmain(){
10+
rustc().crate_type("staticlib").input("nonclike.rs").run();
11+
cc().input("test.c")
12+
.arg(&static_lib_name("nonclike"))
13+
.out_exe("test")
14+
.args(&extra_c_flags())
15+
.args(&extra_cxx_flags())
16+
.run();
17+
run("test");
18+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp