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

Improve error reporting during installation + Release 1.0.1 #469

Merged
merged 7 commits into from
Mar 18, 2022

Conversation

cmichi
Copy link
Collaborator

@cmichi cmichi commented Mar 18, 2022

Follow-up to #467, where we don't have an idea what causes it, but the next time someone runs into it we would have better error reporting.

build.rs Outdated
dylint_driver_dst_file,
);
let original_name = ink_dylint_driver_dir.join("_Cargo.toml");
let original_name = original_name.canonicalize().map_err(|err| {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also added path-canonicalization here now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just canonicalize ink_dylint_driver_dir in the first place, then both original_name and tmp_name will be canonical.

build.rs Outdated Show resolved Hide resolved
@cmichi cmichi merged commit c40da7c into master Mar 18, 2022
@cmichi cmichi deleted the cmichi-add-build-script-output branch March 18, 2022 11:18
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