about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-06-20 12:01:24 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-06-20 12:01:24 +0200
commit5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff (patch)
tree02d019499f0cae68d666db04dcb0ac7294b09cc1 /example
parentf718378f115f487b5ff6270453a9cbb79d808562 (diff)
downloadrust-5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff.tar.gz
rust-5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff.zip
Implement #[link_section]
Fixes #1047
Diffstat (limited to 'example')
-rw-r--r--example/std_example.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index d7e8cf73ea8..530e5549b43 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -5,6 +5,8 @@ use std::io::Write;
 use std::ops::Generator;
 
 fn main() {
+    println!("{:?}", std::env::args().collect::<Vec<_>>());
+
     let mutex = std::sync::Mutex::new(());
     let _guard = mutex.lock().unwrap();