Skip to content

rt: Add a way to configure the runtime environment from the command line #1497

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

Closed
brson opened this issue Jan 11, 2012 · 8 comments
Closed
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-enhancement Category: An issue proposing an enhancement or a PR with one. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jan 11, 2012

We have several environment variables defined in rust_env.cpp for controlling the runtime. It would be nice if this could be done from the command line as well.

See thoughtpolice's comments in #1489.

@graydon
Copy link
Contributor

graydon commented Feb 15, 2012

The +RTS -RTS thing mentioned over in #1489 is ok by me.

@bblum
Copy link
Contributor

bblum commented Jun 10, 2013

If you want to pass +RTS as an actual argument, you can always write ./foo +RTS -RTS +RTS. Like the -- option in many unix utilities.

@bblum
Copy link
Contributor

bblum commented Jun 10, 2013

re-nominating for feature-complete, not backwards-compatible

@pnkfelix
Copy link
Member

change in milestone accepted.

@bblum
Copy link
Contributor

bblum commented Aug 20, 2013

beep... beep... beep... triage detector reports no anomalies

@catamorphism
Copy link
Contributor

Just a bug

@brson
Copy link
Contributor Author

brson commented Nov 1, 2013

Since the runtime rewrite we no longer have all the runtime configuration stored in the same place, so if we wanted to do this we'd first need to go figure out what all our environment variables are again.

For now there's no demand for this feature.

@thestinger
Copy link
Contributor

I think this is too out-of-date to keep open. A new issue in the same spirit could be reported for the new runtime, but this one lacks context and specifics.

bjorn3 pushed a commit to bjorn3/rust that referenced this issue Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-enhancement Category: An issue proposing an enhancement or a PR with one. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

6 participants