diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2021-04-11 23:20:01 +0200 |
|---|---|---|
| committer | Christiaan Dirkx <christiaan@dirkx.email> | 2021-04-22 10:44:44 +0200 |
| commit | cf470197addb37146eb2e0d16f14dd14293d91f0 (patch) | |
| tree | d6cb9c36275d7d3269b8704ed52c2cc713c8681d /library/std/src/sys/wasm/args.rs | |
| parent | 5b30662741afdb59865ecefe3026fcaf1f853c7d (diff) | |
| download | rust-cf470197addb37146eb2e0d16f14dd14293d91f0.tar.gz rust-cf470197addb37146eb2e0d16f14dd14293d91f0.zip | |
Move all cleanup to `sys::cleanup`
Diffstat (limited to 'library/std/src/sys/wasm/args.rs')
| -rw-r--r-- | library/std/src/sys/wasm/args.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sys/wasm/args.rs b/library/std/src/sys/wasm/args.rs index 3b6557ae325..987585af2d5 100644 --- a/library/std/src/sys/wasm/args.rs +++ b/library/std/src/sys/wasm/args.rs @@ -6,8 +6,6 @@ pub unsafe fn init(_argc: isize, _argv: *const *const u8) { // On wasm these should always be null, so there's nothing for us to do here } -pub unsafe fn cleanup() {} - pub fn args() -> Args { Args { iter: Vec::new().into_iter(), _dont_send_or_sync_me: PhantomData } } |
