Function std::os::wasi::fs::symlink
pub fn symlink<P: AsRef<Path>, U: AsRef<Path>>( old_path: P, fd: &File, new_path: U) -> Result<()>
This is supported on WASI only.
Create a symbolic link.
This corresponds to the path_symlink
syscall.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/wasi/fs/fn.symlink.html