Skip to content

Execute Rust code outside of the runtime #4435

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
wants to merge 1 commit into from

Conversation

brson
Copy link
Contributor

@brson brson commented Jan 11, 2013

r? @pcwalton

This is a little function executes Rust code on a new thread, with no task or runtime context. We'll use this to start writing a new scheduler/runtime in Rust.

This begins executing Rust code in a fresh context with no runtime environment
@pcwalton
Copy link
Contributor

r=me. Unfortunate that this needs rt stuff though.

@brson
Copy link
Contributor Author

brson commented Jan 11, 2013

It won't be hard to rewrite that bit of runtime code. Maybe I'll try tonight, though there are some multiplatform bits.

@brson brson closed this Jan 11, 2013
RalfJung added a commit to RalfJung/rust that referenced this pull request Jul 16, 2025
native_lib/trace: fix and reenable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants