pub fn symlink<P: AsRef<Path>, U: AsRef<Path>>(
old_path: P,
fd: &File,
new_path: U
) -> Result<()>
🔬This is a nightly-only experimental API. (
wasi_ext
#71213)Available on WASI only.
Expand description
创建一个符号链接。
这对应于 path_symlink
syscall。