Cargo is planning to make some changes in rust-lang/cargo#15010 which will likely increase the total number of args passed to rustc, making it more likely that arg files are used in the rustc invocation.
Argfiles are an existing rustc feature but generally most projects are small enough to not need them.
To avoid potential breakage, I would suggest adding support for arg files in https://github.com/otter-sec/anchor/blob/474204eebef7a48373eb4fca441f4c54b8e04348/cli/src/debugger/rustc_wrapper.rs
Sccache recently added support for argfiles in mozilla/sccache#2782 that can be used for reference.
Cargo is planning to make some changes in rust-lang/cargo#15010 which will likely increase the total number of args passed to rustc, making it more likely that arg files are used in the rustc invocation.
Argfiles are an existing rustc feature but generally most projects are small enough to not need them.
To avoid potential breakage, I would suggest adding support for arg files in https://github.com/otter-sec/anchor/blob/474204eebef7a48373eb4fca441f4c54b8e04348/cli/src/debugger/rustc_wrapper.rs
Sccache recently added support for argfiles in mozilla/sccache#2782 that can be used for reference.