Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot not compile leafish_blocks #280

Closed
cocoliliace opened this issue Mar 24, 2023 · 2 comments
Closed

cannot not compile leafish_blocks #280

cocoliliace opened this issue Mar 24, 2023 · 2 comments

Comments

@cocoliliace
Copy link

I'm building on Alpine Linux. I installed all the dependencies listed on the README and the build failed at compiling leafish_blocks with the following message:

error: could not compile `leafish_blocks`

Caused by:
  process didn't exit successfully: `rustc --crate-name leafish_blocks --edition=2018 blocks/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=179 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=6a920ad1bb23add0 -C extra-filename=-6a920ad1bb23add0 --out-dir /home/elaina/Documents/code/Leafish/target/release/deps -L dependency=/home/elaina/Documents/code/Leafish/target/release/deps --extern cgmath=/home/elaina/Documents/code/Leafish/target/release/deps/libcgmath-3ce9876738753baf.rmeta --extern collision=/home/elaina/Documents/code/Leafish/target/release/deps/libcollision-a63d8722a5a7fab9.rmeta --extern lazy_static=/home/elaina/Documents/code/Leafish/target/release/deps/liblazy_static-0964ebe3d662eaae.rmeta --extern leafish_shared=/home/elaina/Documents/code/Leafish/target/release/deps/libleafish_shared-dc77a0bbb2402c8f.rmeta --extern parking_lot=/home/elaina/Documents/code/Leafish/target/release/deps/libparking_lot-967d688b2daf6bbe.rmeta` (signal: 9, SIGKILL: kill)
@nathanruiz
Copy link
Collaborator

My best guess with this one is the compiler is running out of memory. I'm currently working to optimise the macros which may resolve this. Could you try allocating more RAM, or enabling some swap space?

@cocoliliace
Copy link
Author

You're right, it was a memory issue. Enabling swap fixed it. Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants