diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-06-20 12:01:24 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-06-20 12:01:24 +0200 |
| commit | 5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff (patch) | |
| tree | 02d019499f0cae68d666db04dcb0ac7294b09cc1 /example | |
| parent | f718378f115f487b5ff6270453a9cbb79d808562 (diff) | |
| download | rust-5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff.tar.gz rust-5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff.zip | |
Implement #[link_section]
Fixes #1047
Diffstat (limited to 'example')
| -rw-r--r-- | example/std_example.rs | 2 |
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(); |
