https://pantsbuild.org/ logo
#development
Title
# development
a

ambitious-actor-36781

09/08/2021, 11:54 PM
I've just forked the
pants
repo, and ran a test...
Copy code
╰─➤  pants test
[=== 00:01 Building native code... ===]
Is this meant to be running single-threaded at 60% cpu for... 20 minutes?
e

enough-analyst-54434

09/09/2021, 12:01 AM
Sounds about right. Rust compilation is a bear.
a

ambitious-actor-36781

09/09/2021, 12:02 AM
ah
😬
e

enough-analyst-54434

09/09/2021, 12:02 AM
Shouldn't be single threaded though.
Should saturate all cores.
cargo is a pretty awesome build tool. The final linking stage with LTO is single-threaded though and itself a bear.
👍 1
a

ambitious-actor-36781

09/09/2021, 12:03 AM
yeah, only seeing one thread using any cpu
e

enough-analyst-54434

09/09/2021, 12:04 AM
It should be in step 429 of 430 or something like that - the last one is the LTO.
👍 1
a

ambitious-actor-36781

09/09/2021, 2:36 AM
ahaha, it was me. I added
PATH_add $(pwd)
to my
.envrc
so I could just run
pants
instead of
./pants
and it was just infini-looping on
cargo
🙈 1