summaryrefslogtreecommitdiff
path: root/cli/tools
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-11-01 16:13:02 +0530
committerGitHub <noreply@github.com>2024-11-01 16:13:02 +0530
commit4774eab64d5176e997b6431f03f075782321b3d9 (patch)
treeb8b19ae7a667f7e1efaeff1d73326ecbe131b7f2 /cli/tools
parent04ae1a551726dd6e0047a942b459d18e1dcb1935 (diff)
chore: upgrade to rust 1.82 and LLVM 19 (#26615)
Upgrade to rust 1.82 and LLVM 19 . Removes one webusb test because `requestAdapter` not working on new ubuntu 24 runners
Diffstat (limited to 'cli/tools')
-rw-r--r--cli/tools/info.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs
index 3febaff57..b53485bd6 100644
--- a/cli/tools/info.rs
+++ b/cli/tools/info.rs
@@ -530,7 +530,7 @@ impl<'a> GraphDisplayContext<'a> {
fn build_module_info(&mut self, module: &Module, type_dep: bool) -> TreeNode {
enum PackageOrSpecifier {
- Package(NpmResolutionPackage),
+ Package(Box<NpmResolutionPackage>),
Specifier(ModuleSpecifier),
}
@@ -538,7 +538,7 @@ impl<'a> GraphDisplayContext<'a> {
let package_or_specifier = match module.npm() {
Some(npm) => match self.npm_info.resolve_package(npm.nv_reference.nv()) {
- Some(package) => Package(package.clone()),
+ Some(package) => Package(Box::new(package.clone())),
None => Specifier(module.specifier().clone()), // should never happen
},
None => Specifier(module.specifier().clone()),