Dir::hard_link: dont support symlink following
if we're asked to follow symlinks, give ERRNO_INVAL instead.
This commit is contained in:
@@ -200,7 +200,6 @@ impl WasiDir for Dir {
|
||||
fn hard_link(
|
||||
&self,
|
||||
src_path: &str,
|
||||
symlink_follow: bool, // XXX not in cap-std yet
|
||||
target_dir: &dyn WasiDir,
|
||||
target_path: &str,
|
||||
) -> Result<(), Error> {
|
||||
|
||||
Reference in New Issue
Block a user