Function std::os::wasi::fs::symlink_path
pub fn symlink_path<P: AsRef<Path>, U: AsRef<Path>>( old_path: P, new_path: U) -> Result<()>
This is supported on WASI only.
Create a symbolic link.
This is a convenience API similar to std::os::unix::fs::symlink
and std::os::windows::fs::symlink_file
and std::os::windows::fs::symlink_dir
.
© 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_path.html