From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/runtime/stdout-during-shutdown.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/test/ui/runtime/stdout-during-shutdown.rs (limited to 'src/test/ui/runtime/stdout-during-shutdown.rs') diff --git a/src/test/ui/runtime/stdout-during-shutdown.rs b/src/test/ui/runtime/stdout-during-shutdown.rs deleted file mode 100644 index a6cf812ca..000000000 --- a/src/test/ui/runtime/stdout-during-shutdown.rs +++ /dev/null @@ -1,19 +0,0 @@ -// run-pass -// check-run-results -// ignore-emscripten - -// Emscripten doesn't flush its own stdout buffers on exit, which would fail -// this test. So this test is disabled on this platform. -// See https://emscripten.org/docs/getting_started/FAQ.html#what-does-exiting-the-runtime-mean-why-don-t-atexit-s-run - -#![feature(rustc_private)] - -extern crate libc; - -fn main() { - extern "C" fn bye() { - print!(", world!"); - } - unsafe { libc::atexit(bye) }; - print!("hello"); -} -- cgit v1.2.3