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

List of non-vanilla compiletest-like directives to support #31

Open
fmease opened this issue Jan 25, 2025 · 0 comments
Open

List of non-vanilla compiletest-like directives to support #31

fmease opened this issue Jan 25, 2025 · 0 comments
Labels
K-tracking-issue Kind: Tracking issue P-low Priority: Low

Comments

@fmease
Copy link
Owner

fmease commented Jan 25, 2025

  • Support for "non-standard" directive syntax: Inline crates #26
  • Support for "non-standard" directive syntax: "Cfg specs" in revision "attributes" #25
  • (maybe) some way/mechanism to avoid the need of an auxiliary/ directory (annoying for local hacking) by e.g.
    • resolving paths in aux-* directives lexically (cc [#]134694) via an extra CLI flag or by default (-@@) so you can simply write ../file.rs which would expand to $CWD/auxiliary/../file.rs and resolve to $CDW/file.rs thus absolving the user of having to create an empty "dummy" auxiliary/ or by
    • adding a new set of directives (ideally via a simple marker like a suffix) which don't add the path component auxiliary or by
    • adding a flag that changes the behavior of existing aux-* directives to not look into auxiliary/ (hmm)
  • (maybe) introduce a new form for aux-bin: aux-bin:ENV_VAR=PATH which is like aux-bin:PATH except that it adds env var ENV_VAR to the rustc invocation which contains the path to the built aux bin
    • simply for convenience; the crate no longer need to manually deal with EXE_EXTENSION etc
    • the value of the env var will have the shape auxiliary/bin/PATH_WITH_EXE_EXTENSION
  • (maybe) allow the path to be omitted in aux-crate: aux-crate:name would expand to aux-crate=name=name.rs
@fmease fmease added K-tracking-issue Kind: Tracking issue P-low Priority: Low labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
K-tracking-issue Kind: Tracking issue P-low Priority: Low
Projects
None yet
Development

No branches or pull requests

1 participant