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

chore: use CARGO_BIN_EXE instead of inspecting env::current_exe() #3427

Merged
merged 1 commit into from
Jan 14, 2021
Merged

chore: use CARGO_BIN_EXE instead of inspecting env::current_exe() #3427

merged 1 commit into from
Jan 14, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Jan 14, 2021

Motivation

Cargo has added the environment variable CARGO_BIN_EXE_<name> in Rust 1.43 to make it easier to run such tests.

Refs: rust-lang/cargo#7697

Solution

@carllerche carllerche merged commit 30b4a74 into tokio-rs:master Jan 14, 2021
@taiki-e taiki-e deleted the cargo-bin-exe branch January 14, 2021 18:00
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.

2 participants