Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtime: Fix adding negative duration to Timespec. #16972

Merged
merged 1 commit into from
Sep 4, 2014

Conversation

ruuda
Copy link
Contributor

@ruuda ruuda commented Sep 3, 2014

Changing from Timespec to Duration introduced a bug for negative durations. This fixes that.

bors added a commit that referenced this pull request Sep 4, 2014
Changing from `Timespec` to `Duration` introduced a bug for negative durations. This fixes that.
@bors bors closed this Sep 4, 2014
@bors bors merged commit 0b4912b into rust-lang:master Sep 4, 2014
@ruuda ruuda deleted the timespec-arithmetic branch September 4, 2014 20:01
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Apr 26, 2024
Make `cargo run` always available for binaries

Previously, items for `cargo test` and `cargo check` would appear as in
the `Select Runnable` quick pick that appears when running
`rust-analyzer: Run`, but `run` would only appear as a runnable if a
`main`` function was selected in the editor. This change adds `cargo
run` as an always available runnable command for binary packages.

This makes it easier to develop cli / tui applications, as now users can
run application from anywhere in their codebase.
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Apr 27, 2024
Make `cargo run` always available for binaries

Previously, items for `cargo test` and `cargo check` would appear as in
the `Select Runnable` quick pick that appears when running
`rust-analyzer: Run`, but `run` would only appear as a runnable if a
`main`` function was selected in the editor. This change adds `cargo
run` as an always available runnable command for binary packages.

This makes it easier to develop cli / tui applications, as now users can
run application from anywhere in their codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants