feat: compile diag crate for wasm32 target (#2026)

This commit is contained in:
Myriad-Dreamin 2025-08-11 08:49:37 +08:00 committed by GitHub
parent 8431f386ce
commit b102b42d2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 121 additions and 92 deletions

View file

@ -3,7 +3,7 @@ use std::sync::Arc;
use ecow::{eco_format, EcoString};
use tinymist_std::path::unix_slash;
use tinymist_world::system::print_diagnostics_to_string;
use tinymist_world::diag::print_diagnostics_to_string;
use tinymist_world::vfs::WorkspaceResolver;
use tinymist_world::{
DiagnosticFormat, EntryReader, EntryState, ShadowApi, SourceWorld, TaskInputs,