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

add missing canonicalize for util::resolve_binary #1119

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

ma2bd
Copy link
Contributor

@ma2bd ma2bd commented Oct 12, 2023

Motivation

Fix cargo build --bins && target/debug/linera net up after #1107

Proposal

Make util::resolve_binary return an absolute path.

The issue occurs when the current binary is a relative path. Before #1107, cargo_force_build_binary was calling .canonicalize().

Test Plan

CI

The new integration test covers this use case:

cargo build --bins && target/debug/linera net up

@ma2bd ma2bd marked this pull request as ready for review October 12, 2023 07:55
@ma2bd ma2bd force-pushed the fix_linera_net_up branch from 983ef6d to 39f595d Compare October 12, 2023 08:12
@ma2bd ma2bd force-pushed the fix_linera_net_up branch from 39f595d to 966de47 Compare October 12, 2023 08:30
@ma2bd ma2bd merged commit c173fea into linera-io:main Oct 12, 2023
@ma2bd ma2bd deleted the fix_linera_net_up branch October 12, 2023 09:02
@ma2bd ma2bd restored the fix_linera_net_up branch October 12, 2023 22:45
@ma2bd ma2bd deleted the fix_linera_net_up branch October 12, 2023 22:45
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