Problem with custom target-dir #110
Description
I changed the target-dir
of cargo to .target
but despite rls have something that should use cargo config, this seem to not working. Is this because atom-ide-rust overwrite target_dir
? Or this is a bug of rls ?
Maybe this is link to this, rust-lang/vscode-rust#322
I also try to put a rls.toml
and add:
[rust]
target_dir = ".target"
target-dir = ".target"
or
target_dir = ".target"
target-dir = ".target"
Both not working, I expected that it should only change the default directory where rls is build but both just do nothing. Also, I like that fact they didn't follow the same rule target_dir
!= target-dir
, I tried both just in case.
That a big problem for me because I use rust in a unity project in Unity only way to avoid there create .meta file is to use hidden file, sometime these .meta file block cargo because somehow cargo doesn't like .lock.meta (but I already fixed this with cargo config). Also, this make unity editor slow because it check for every new file I don't know if this could stop rls to work cause of lock file as cargo but I want to avoid the problem.
Is there something, I do wrong ?