This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
3088c4b046
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 13:03:31 -06:00
#[
no_mangle
]
Update code to account for extern ABI requirement
2020-09-01 16:28:11 -05:00
pub
extern
"
C
"
fn
args_check
(
)
{
Test std::env::args in a staticlib on glibc Linux
2019-11-21 13:03:31 -06:00
assert_ne!
(
std
::
env
::
args_os
(
)
.
count
(
)
,
0
)
;
}
Reference in New Issue
Copy Permalink