首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在运行货物运行后出错:无法编译“`wayland protocols`”

在运行货物运行后出错:无法编译“`wayland protocols`”
EN

Stack Overflow用户
提问于 2022-01-05 13:47:44
回答 1查看 345关注 0票数 -1
代码语言:javascript
复制
error: could not compile `wayland-protocols`

Caused by:
  process didn't exit successfully: `rustc --crate-name wayland_protocols --edition=2018 /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/wayland-protocols-0.28.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="client"' --cfg 'feature="unstable_protocols"' --cfg 'feature="wayland-client"' -C metadata=7617ec321c2b5731 -C extra-filename=-7617ec321c2b5731 --out-dir /vagrant/target/debug/deps -L dependency=/vagrant/target/debug/deps --extern bitflags=/vagrant/target/debug/deps/libbitflags-05dfd5b5d1225bed.rmeta --extern wayland_client=/vagrant/target/debug/deps/libwayland_client-5f1145fb2f59d147.rmeta --extern wayland_commons=/vagrant/target/debug/deps/libwayland_commons-29ab383d18290005.rmeta --cap-lints allow` (signal: 9, SIGKILL: kill)
warning: build failed, waiting for other jobs to finish...
error: build failed
EN

回答 1

Stack Overflow用户

发布于 2022-01-05 19:41:23

我从推特上得到了答案。发生的情况是,rustc没有足够的内存来编译我的项目,所以操作系统杀死了它(OOM)。

我在我的Vagrantfile中添加了更多的内存,并重新加载了流浪者。现在起作用了!

下面是tweet的链接:https://twitter.com/dcodefrenzy/status/1478730150078566403?s=20

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70593970

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档