Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Support flagfile in rustc (@file syntax) #51473

Closed
damienmg opened this issue Jun 10, 2018 · 1 comment
Closed

FR: Support flagfile in rustc (@file syntax) #51473

damienmg opened this issue Jun 10, 2018 · 1 comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@damienmg
Copy link

Hello,

In the process of thinking how to better integrate Bazel & RLS (bazelbuild/rules_rust#95) I found out that rustc doesn't support flag file, that is file that contains a list of arguments that is to be parsed by the compiler. Because the way Bazel works, it has crates that can live in various place in the system. It creates symlink at the moment to put everything in one directory but that is not required except that the number of -L flags will ends up being large without it.

It's a very common way of passing options in standard compilers (gcc, clang, javac).

Related RFC: rust-lang/rfcs#2136 (build system integration)

@stokhos stokhos added C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 10, 2018
@Mark-Simulacrum
Copy link
Member

Implemented; tracking issue: #63576.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants