Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b88534d
Migrate 11 issue tests to specific subdirectories
raushan728 Feb 22, 2026
d3bd9e6
Remove unhelpful hint from trivial bound errors
arferreira Feb 24, 2026
c66597e
prefer actual ABI-controling fields over target.abi when making ABI d…
RalfJung Feb 21, 2026
b0d90ae
Update issue tracking comments to use actual URLs
raushan728 Feb 25, 2026
2e0fdc5
disable the fragment_in_final test on s390x
fneddy Feb 27, 2026
22a0e06
rustdoc: make `--emit` and `--out-dir` mimic rustc
notriddle Feb 23, 2026
53fffef
Use `match base_expr` in `check_expr_struct_fields()`.
kpreid Mar 1, 2026
d6eefce
Remember whether a struct literal had syntax errors.
kpreid Mar 1, 2026
f5d3b15
Don’t report missing fields in struct exprs with syntax errors.
kpreid Mar 1, 2026
931e2c4
feat: Provide an '.item_kind()' method on ItemEnum
LukeMathWalker Mar 2, 2026
8ecb3e4
librustdoc: Update the name of the Hermit operating system
Gelbpunkt Mar 2, 2026
cc64a37
library: std: hermit: Update name of the Hermit operating system
Gelbpunkt Mar 2, 2026
609bffd
c-variadic: remove CString use from test
folkertdev Feb 22, 2026
c9e44b0
c-variadic: remove f64::floor use from test
folkertdev Feb 22, 2026
ff1a98a
Add release notes for 1.94.0
Mark-Simulacrum Mar 1, 2026
c8d343e
Added guarantee and non-guarantee comments + tests for intersperse/in…
asder8215 Mar 2, 2026
8e5bfd5
Rollup merge of #152941 - RalfJung:abi-control, r=mati865
JonathanBrouwer Mar 3, 2026
f658103
Rollup merge of #153227 - kpreid:struct-missing-field, r=estebank
JonathanBrouwer Mar 3, 2026
be7f4cc
Rollup merge of #153265 - asder8215:intersperse_changes, r=jhpratt
JonathanBrouwer Mar 3, 2026
b8a1ba0
Rollup merge of #152966 - raushan728:reorganize-ui-issues-1, r=Kivooeo
JonathanBrouwer Mar 3, 2026
e5cb851
Rollup merge of #153003 - notriddle:emit-outdir, r=fmease
JonathanBrouwer Mar 3, 2026
d3fd93c
Rollup merge of #153034 - arferreira:fix-trivial-bound-diagnostic, r=…
JonathanBrouwer Mar 3, 2026
f0b426c
Rollup merge of #153177 - fneddy:s390x_fix_test_ptr_fragments_final, …
JonathanBrouwer Mar 3, 2026
9df767d
Rollup merge of #153221 - Mark-Simulacrum:relnotes, r=cuviper
JonathanBrouwer Mar 3, 2026
a85fa2a
Rollup merge of #153279 - LukeMathWalker:add-kind-method, r=aDotInThe…
JonathanBrouwer Mar 3, 2026
95e8fba
Rollup merge of #153297 - Gelbpunkt:hermitcore-hermit, r=joboet
JonathanBrouwer Mar 3, 2026
9545242
Rollup merge of #153309 - folkertdev:c-variadic-link-test-cleanup, r=…
JonathanBrouwer Mar 3, 2026
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
c-variadic: remove f64::floor use from test
  • Loading branch information
folkertdev committed Mar 2, 2026
commit c9e44b0ce32b5ea694a3237d963cef3c5905db8e
8 changes: 4 additions & 4 deletions tests/run-make/c-link-to-rust-va-list-fn/checkrust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ pub unsafe extern "C" fn check_list_1(mut ap: VaList) -> usize {

#[unsafe(no_mangle)]
pub unsafe extern "C" fn check_list_2(mut ap: VaList) -> usize {
continue_if!(ap.arg::<c_double>().floor() == 3.14f64.floor());
continue_if!(ap.arg::<c_double>() == 3.14f64);
continue_if!(ap.arg::<c_long>() == 12);
continue_if!(ap.arg::<c_int>() == 'a' as c_int);
continue_if!(ap.arg::<c_double>().floor() == 6.18f64.floor());
continue_if!(ap.arg::<c_double>() == 6.28f64);
continue_if!(compare_c_str(ap.arg::<*const c_char>(), c"Hello"));
continue_if!(ap.arg::<c_int>() == 42);
continue_if!(compare_c_str(ap.arg::<*const c_char>(), c"World"));
Expand All @@ -49,7 +49,7 @@ pub unsafe extern "C" fn check_list_2(mut ap: VaList) -> usize {

#[unsafe(no_mangle)]
pub unsafe extern "C" fn check_list_copy_0(mut ap: VaList) -> usize {
continue_if!(ap.arg::<c_double>().floor() == 6.28f64.floor());
continue_if!(ap.arg::<c_double>() == 6.28f64);
continue_if!(ap.arg::<c_int>() == 16);
continue_if!(ap.arg::<c_int>() == 'A' as c_int);
continue_if!(compare_c_str(ap.arg::<*const c_char>(), c"Skip Me!"));
Expand All @@ -66,7 +66,7 @@ pub unsafe extern "C" fn check_varargs_0(_: c_int, mut ap: ...) -> usize {

#[unsafe(no_mangle)]
pub unsafe extern "C" fn check_varargs_1(_: c_int, mut ap: ...) -> usize {
continue_if!(ap.arg::<c_double>().floor() == 3.14f64.floor());
continue_if!(ap.arg::<c_double>() == 3.14f64);
continue_if!(ap.arg::<c_long>() == 12);
continue_if!(ap.arg::<c_int>() == 'A' as c_int);
continue_if!(ap.arg::<c_longlong>() == 1);
Expand Down
Loading