mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-22 12:34:39 +00:00
feat: move and compile tinymist crate for wasm32 target (#2027)
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
This commit is contained in:
parent
79f68dc94d
commit
ce5ab81760
56 changed files with 1558 additions and 1122 deletions
|
|
@ -672,7 +672,7 @@ impl SharedContext {
|
|||
}
|
||||
|
||||
/// Get the local packages and their descriptions.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(feature = "local-registry")]
|
||||
pub fn local_packages(&self) -> EcoVec<PackageSpec> {
|
||||
crate::package::list_package_by_namespace(&self.world.registry, eco_format!("local"))
|
||||
.into_iter()
|
||||
|
|
@ -681,7 +681,7 @@ impl SharedContext {
|
|||
}
|
||||
|
||||
/// Get the local packages and their descriptions.
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
#[cfg(not(feature = "local-registry"))]
|
||||
pub fn local_packages(&self) -> EcoVec<PackageSpec> {
|
||||
eco_vec![]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue