7

Exited with hard error when custom build file no existence or not in package by...

 9 months ago
source link: https://github.com/rust-lang/cargo/pull/12995
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Contributor

What does this PR try to resolve?

Fixed #11383

How should we test and review this PR?

Add test build_script_outside_pkg_root, this will check custom_build.rs existence and whether in the package root, if not then exited with a hard error

Additional information

The code just handle the custom build target that i know how to test it. Other target type is skipped.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK