No way to specify custom target specifications relative to project #501
Description
Since rls.toml
was deprecated, the only way to specify a custom target in rls-vscode
seems to be to configure the rust.target
option in the workspace-specific configuration; unfortunately, it seems that relative paths are not supported here, or at least not seen as relative to the project (possibly related to #448?).
As it stands, it seems to only accept 1) rustc
-provided target triples, and 2) absolute paths to custom target specifications. The former is obviously not an option for custom target specifications, and the latter isn't very portable; absolute paths are system-specific, so it would be essentially impossible to collaborate on a project with multiple people.
Perhaps this could be fixed in a similar manner to #448, by treating relative target
paths as being relative to the project directory?