Skip to content

Add :load command to REPL that can compile and load external libraries #4130

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
Closed

Conversation

bleibig
Copy link
Contributor

@bleibig bleibig commented Dec 7, 2012

The :load command takes a list of crate names (with or without file extension), compiles them into shared libraries if necessary, and loads them to make them available in the current session. It can also load crates from directories outside the current one.

Example:

rusti> :load crate1.rc src/crate2
compiling crate1...
compiling src/crate2...
crates loaded: crate1 src/crate2
rusti>

@brson
Copy link
Contributor

brson commented Dec 7, 2012

Merged. Thanks!

@brson brson closed this Dec 7, 2012
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