feat: Partial support for unnamed packages

* Change PackageId to support both named and unnamed package
* Update the package resolver logic with unnamed package support
* Update the "package download" command
This commit is contained in:
Christoph Herzog
2024-04-09 22:31:26 +02:00
parent 4368155959
commit c6ab1e5f56
13 changed files with 274 additions and 197 deletions

View File

@ -21,7 +21,7 @@ fn data_and_store_mut() -> Result<(), String> {
);
let mut envmut = env.into_mut(&mut store);
let (mut data, mut storemut) = envmut.data_and_store_mut();
let (data, mut storemut) = envmut.data_and_store_mut();
assert_eq!(
data.global.ty(&storemut),