This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-29 11:37:39 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
14e59bb317
rust
/
tests
/
run-make
/
glibc-staticlib-args
/
library.rs
5 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
Test std::env::args in a staticlib on glibc Linux
2019-11-21 19:03:31 +00:00
#[
no_mangle
]
Update code to account for extern ABI requirement
2020-09-01 21:28:11 +00:00
pub
extern
"
C
"
fn
args_check
(
)
{
Test std::env::args in a staticlib on glibc Linux
2019-11-21 19:03:31 +00:00
assert_ne!
(
std
::
env
::
args_os
(
)
.
count
(
)
,
0
)
;
}
Reference in New Issue
Copy Permalink