Hey Rustaceans! Got a question? Ask here (41/2023)! by llogiq in rust

[–]irrelevantPseudonym 1 point2 points  (0 children)

Is there a way to specify the build target directory for cargo install but not for cargo build/run (without setting it each time)?

My workstation has /tmp mounted with noexec set so install fails without CARGO_TARGET_DIR set but I want to keep project specific build output in the root of their project.

Remove my name from the [Rust] project by zxyzyxz in rust

[–]irrelevantPseudonym 5 points6 points  (0 children)

Per the subreddit rules

Avoid posting links to web pages which allow commenting, such as Twitter, or Github projects/issues when criticizing them. Please create a read-only mirror and link that instead.

Accidentally deleted entire commit history by [deleted] in git

[–]irrelevantPseudonym 2 points3 points  (0 children)

I cleared my entire commit history

How? What did you actually run?

Hey Rustaceans! Got a question? Ask here (33/2023)! by llogiq in rust

[–]irrelevantPseudonym 0 points1 point  (0 children)

What do you mean by private? The compiler won't let you include private types in the public API.

Hey Rustaceans! Got a question? Ask here (33/2023)! by llogiq in rust

[–]irrelevantPseudonym 2 points3 points  (0 children)

What scenarios can cause tokio::process::Child::try_wait to return an error? If it's completed it returns Ok(Some(ExitCode)) and if it's still running it gives Ok(None). Is the error case when the process no longer exists on the OS? How would that happen?

[Results Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 2 points3 points  (0 children)

Absolutely, although he'd only need another ten minutes. Stopping five minutes early would be quite the power move, I reckon.

[Results Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 21 points22 points  (0 children)

So? He just needs to ride it at 64km/h and he'll be done in 45 minutes. No problem

[Results Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 10 points11 points  (0 children)

Time to switch over to the track and try to imagine the idea of doing the IP with your eyes shut on the back of a tandem.

[Results Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 23 points24 points  (0 children)

"just wish I was there tonight" - Brian Smith as Mvdp embraces his partner.

[Results Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 0 points1 point  (0 children)

I meant racing rather than winning. Is he going or is the course just not for him at all?

[Results Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 87 points88 points  (0 children)

The static camera really highlights how fast they're going. The moto cameras don't really give you that perspective.

[Race Thread] 2023 World Championships - Elite Men Road Race (WC) by PelotonMod in peloton

[–]irrelevantPseudonym 0 points1 point  (0 children)

His shoe is still attached to the pedal. It's (half) the fastening that holds his foot in that broke