hebi icon indicating copy to clipboard operation
hebi copied to clipboard

Building with release flag hangs on MacOS 10.15.6

Open aaronzshey opened this issue 4 years ago • 3 comments

These are the steps I followed:

  • Clone the repo
  • Install rust nightly
  • rustup show returns this:
~/hebi main
▲ rustup show
Default host: x86_64-apple-darwin
rustup home:  /Users/cog/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin (default)
nightly-x86_64-apple-darwin

active toolchain
----------------

nightly-x86_64-apple-darwin (directory override for '/Users/cog/hebi')
rustc 1.57.0-nightly (c3c0f80d6 2021-09-14)
  • run cargo build --release --verbose
  • Cook an egg with my laptop fans
  • Watch as hebi hangs on 299/300. I tried waiting up to 7 minutes and it didn't get unstuck. This is the output, if anyone can understand it: Screen Shot 2021-09-16 at 11 16 26 AM

Other notes: The build size is about 500MB. A lot better than 1.26GB, but far bigger than linux or windows builds.

aaronzshey avatar Sep 16 '21 18:09 aaronzshey

Can you try building without stripping? (Not that kind! Naughty mind)

kroltan avatar Sep 17 '21 15:09 kroltan

Thanks! I'll try building without any experimental features with rust stable.

aaronzshey avatar Sep 17 '21 16:09 aaronzshey

I just did that, with removing the stripping lines and then using rustup default stable but it still hung at the final step. Screen Shot 2021-09-17 at 10 16 54 AM

aaronzshey avatar Sep 17 '21 17:09 aaronzshey