summary refs log tree commit diff
path: root/tests/run-make/strip/hello.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-07 01:26:09 +0000
committerbors <bors@rust-lang.org>2025-01-07 01:26:09 +0000
commit9fc6b43126469e3858e2fe86cafb4f0fd5068869 (patch)
treef51c9d8c08e9551bb12201a96fbd335c6c32be4e /tests/run-make/strip/hello.rs
parent953a5caef005993f93d8fe9baa344cc2591496c2 (diff)
parent6287749471076a3065a5793cb0a1678324e768bb (diff)
downloadrust-1.84.0.tar.gz
rust-1.84.0.zip
Auto merge of #135162 - pietroalbini:pa-stable, r=pietroalbini 1.84.0
Prepare Rust 1.84.0 stable release

Included a backport of https://github.com/rust-lang/rust/issues/135034, and squashed the release notes.

r? `@ghost`
Diffstat (limited to 'tests/run-make/strip/hello.rs')
-rw-r--r--tests/run-make/strip/hello.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make/strip/hello.rs b/tests/run-make/strip/hello.rs
new file mode 100644
index 00000000000..2dc0376650b
--- /dev/null
+++ b/tests/run-make/strip/hello.rs
@@ -0,0 +1,8 @@
+fn main() {
+    hey_i_get_compiled();
+}
+
+#[inline(never)]
+fn hey_i_get_compiled() {
+    println!("Hi! Do or do not strip me, your choice.");
+}