Dir::hard_link: dont support symlink following

if we're asked to follow symlinks, give ERRNO_INVAL instead.
This commit is contained in:
Pat Hickey
2021-01-25 17:07:43 -08:00
parent a993090e30
commit fded424e68
3 changed files with 4 additions and 3 deletions

View File

@@ -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> {