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

WASM/Rust for stdlib Native Extensions? #22

Closed
rrichardson opened this issue Oct 29, 2020 · 1 comment
Closed

WASM/Rust for stdlib Native Extensions? #22

rrichardson opened this issue Oct 29, 2020 · 1 comment

Comments

@rrichardson
Copy link

Is there a way, or could there easily be a way to extend the stdlib using WASM and/or Rust?

@CertainLach
Copy link
Owner

Yep, it is available via api:

pub fn add_native(&self, name: Rc<str>, cb: Rc<NativeCallback>) {

But no such functionality for standard CLI. I can implement it, but i dont think it will be useful. Vanilla jsonnet also doesn't supports it (But there is existing issue: google/jsonnet#206)

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

No branches or pull requests

2 participants