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

Add an API to determine whether the current environment supports JIT vs is native #19319

Closed
JamesNK opened this issue Nov 10, 2016 · 2 comments
Closed
Labels
api-needs-work API needs work before it is approved, it is NOT ready for implementation area-Meta
Milestone

Comments

@JamesNK
Copy link
Member

JamesNK commented Nov 10, 2016

There is no way to determine whether the current environment is a JIT one or a .NET Native one.

Please add a way to discover this information at runtime so libraries and applications can enable or disable using features like IL emit which required a JIT environment.

// cc @terrajobst

@svick
Copy link
Contributor

svick commented Nov 10, 2016

If you want to know whether IL emit, or some other feature, is available, wouldn't an API that tells you exactly that be better?

Distinguishing between JIT and AOT would work now, but I can imagine that it might not work in the future.

@karelz
Copy link
Member

karelz commented Apr 21, 2018

Duplicate of dotnet/corefx#29258

@karelz karelz closed this as completed Apr 21, 2018
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 3.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-needs-work API needs work before it is approved, it is NOT ready for implementation area-Meta
Projects
None yet
Development

No branches or pull requests

4 participants