diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-03-31 14:39:03 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-04-01 05:29:53 -0700 |
| commit | 382f9a7a3d15580c15531428f39bf47f55093d42 (patch) | |
| tree | 2f070019f6203c4bf2fc024608a27dc24e224768 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | eab3eb38df8dca99110b6149b3a15deeb4ef0413 (diff) | |
| download | rust-382f9a7a3d15580c15531428f39bf47f55093d42.tar.gz rust-382f9a7a3d15580c15531428f39bf47f55093d42.zip | |
wasi: Load arguments via syscalls
This commit switches the wasi target to loading CLI arguments via the syscalls provided by wasi rather than through the argc/argv passed to the main function. While serving the same purpose it's hoped that using syscalls will make us a bit more portable (less reliance from libstd on an external C library) as well as avoiding the need for a lock!
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
