Stream: t-compiler/wg-rls-2.0

Topic: Running check builds on 32 bit power


matklad (Jul 13 2020 at 21:21, on Zulip):

Hey, does anyone knows if it is possible to run a cargo check build against 32 power arch, without setting up docker, emulators, etc?

matklad (Jul 13 2020 at 21:22, on Zulip):

Its' the second time rust-analyzer build in rust-lang rust fails with build error on power, I wonder if we can check this on CI

Jonas Schievink (Jul 13 2020 at 21:22, on Zulip):

Due to quanta?

Jonas Schievink (Jul 13 2020 at 21:23, on Zulip):

(just did cargo check --target=powerpc-unknown-linux-gnu and it failed with the same error as CI)

matklad (Jul 13 2020 at 21:24, on Zulip):

qup, though, I think we removed quanta from cargo.lock

matklad (Jul 13 2020 at 21:24, on Zulip):

(with the latest tracing udpate)

matklad (Jul 13 2020 at 21:26, on Zulip):

Ah no, we added quanta with the latest update. It's too late here, so let me log the issue the lazy way:

@David Barsky -- apparently something in tracing infra depends on the quanta crate, and that requries AtomicU64, which is not available on some Rust targets, which causes rust-analyzer build to fail in rust-lang rust repo. You might want to be aware of this :D

David Barsky (Jul 13 2020 at 21:28, on Zulip):

uh oh; thanks for letting me know

David Barsky (Jul 13 2020 at 21:31, on Zulip):

oh, my crate (https://crates.io/crates/tracing-tree) does

David Barsky (Jul 13 2020 at 21:33, on Zulip):

oh, huh. we don't even use it.

David Barsky (Jul 13 2020 at 21:33, on Zulip):

i'll cut a new release with quanta removed; hold on

matklad (Jul 13 2020 at 21:36, on Zulip):

To be clear, this is super non-urgent :-)

David Barsky (Jul 13 2020 at 21:40, on Zulip):

fixed and released, @matklad! https://github.com/davidbarsky/tracing-tree/releases/tag/v0.1.4

David Barsky (Jul 13 2020 at 21:40, on Zulip):

I know it's not, but you caught me at a good time :)

Jeremy Kolb (Jul 13 2020 at 22:14, on Zulip):

I threw a PR up to bump tracing-tree. Should be in RA in a few minutes

nagisa (Jul 15 2020 at 02:48, on Zulip):

For the future, https://cfarm.tetaneutral.net/ has some real ppc machines

Last update: Sep 27 2020 at 14:45UTC