Skip to content

Commit

Permalink
guest-rust macro: minor fix for PackageSourceMap interface change
Browse files Browse the repository at this point in the history
  • Loading branch information
pchickey committed Nov 12, 2024
1 parent 227a473 commit 2d5bb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/guest-rust/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ fn parse_source(
};
let (pkg, sources) = resolve.push_path(normalized_path)?;
pkgs.push(pkg);
files.extend(sources);
files.extend(sources.paths().map(|p| p.to_owned()));
}
Ok(())
};
Expand Down

0 comments on commit 2d5bb0f

Please sign in to comment.