This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
Error squiggles for Cargo.toml when build.rs requires environment variable #791
Open
Description
Even with a custom build command (and ctrl-shift-b succeeding), Cargo.toml still renders everything with red squiggles under everything telling me that the package failed to build, i.e.
failed to run custom build command for `cvrust v0.1.0 (C:\Users\...)`
My tasks.json is:
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"subcommand": "build",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "Rust: cargo build - cvrust",
"options": {
"env": {
"PNG_LIBRARY_DIR": "C:\\Users\\...
}
}
}
]
}
Metadata
Metadata
Assignees
Labels
No labels