about summary refs log tree commit diff
path: root/library/std/src/sys/args/wasip2.rs
blob: a57e4b97786d08ba232fdc95929e2047a55c664b (plain)
1
2
3
4
5
6
pub use super::common::Args;

/// Returns the command line arguments
pub fn args() -> Args {
    Args::new(wasip2::cli::environment::get_arguments().into_iter().map(|arg| arg.into()).collect())
}