18:43
<
Mic92 >
I have now a github actions invite.
19:01
<
Mic92 >
mhm. Maybe I was wrong. I can nest user namespaces, when the parent is mapped to root again: unshare -Urm unshare -Um
19:01
<
gchristensen >
whoa
19:03
<
Mic92 >
let's see if this also works in docker
19:03
<
Mic92 >
Would be also great for builder images outside of github
19:04
<
gchristensen >
that would be great
19:05
<
Mic92 >
But let's first upgrade rustc to 1.31
19:05
<
gchristensen >
yay :) yes please!
19:05
<
gchristensen >
stable clippy and rustfmt is going to be very nice
19:05
<
Mic92 >
I have 72 cores and rust uses somethink like 2 to 7 during the build.
19:06
<
Mic92 >
Might be the codegen limit that we have to protect memory depletion in hydra.
19:07
<
Mic92 >
Ok. actually half the cores. The rest are hyperthreads.
19:07
<
gchristensen >
eh, close enough
19:09
<
Mic92 >
I can't complain :)
19:09
<
gchristensen >
`nproc` => 8 :(
19:10
<
Mic92 >
on my laptop it is 4
19:11
<
gchristensen >
my other machine I thought had 12, but it has 6 cores and no hyperthreading
19:14
<
gchristensen >
huh...
19:14
<
Mic92 >
But yet it seems a bit academically to me
19:15
<
Mic92 >
I generally trust mozilla's binaries.
19:15
<
gchristensen >
they don't trust anything, iirc they bootstrap from like a 40 byte large scheme interpreter or something to create a first c compiler
19:16
<
Mic92 >
this sounds a bit like overegineering.
19:16
<
Mic92 >
*engineering
19:17
<
gchristensen >
I wouldn't make those choices
19:22
<
Mic92 >
actually looks pretty similar to stdenv bootstrapping.
22:26
* gchristensen
learns more Rust
22:26
<
gchristensen >
I should probably have learned idiomatic error handling sooner
22:31
<
LnL >
you mean the ? stuff
22:31
<
gchristensen >
like making different types of Errors and enum'd errors
23:15
<
gchristensen >
I made #rust people sad because they suggested the `failure` crate, but since it isn't on play.rust-lang.org, I can't as easily get help ... so I switched to error-chain ... and well they aren't impressed
23:26
<
gchristensen >
and then burntsushi told me screw both of those and go it alone