You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Could not find documented features in Cargo.toml
--> {project-root}/vendor/scpi/src/lib.rs:31:10
Library and tool versions:
scpi version: 1.0.0
rust version: 1.70.0 (90c541806 2023-05-31)
cargo version: 1.70.0 (ec8a8a0ca 2023-04-25)
Additional context
Currently I am getting around it by duplicating the Cargo.toml from github and renaming it to Cargo.toml.orig (and putting it next to the vendored Cargo.toml)
It appears that document-features 0.2.8 does not complain anymore when no documentation can be extracted from Cargo.toml (slint-ui/document-features#20 (comment)). I will check on @LeoWherle system next week and confirm if it now works as expected.
Description
When building a project using vendored sources, the Cargo.toml file is stripped of comments wich makes it impossible to build.
To Reproduce
Create a new project with the
{project-root}/.cargo/config.toml
file containing:execute the following commands :
Expected behavior
The compilation of scpi fails.
Library and tool versions:
Additional context
Currently I am getting around it by duplicating the Cargo.toml from github and renaming it to Cargo.toml.orig (and putting it next to the vendored Cargo.toml)
The text was updated successfully, but these errors were encountered: