servo / rust-mozjs

DEPRECATED - moved to servo/mozjs instead.
Mozilla Public License 2.0
293 stars 122 forks source link

Introduce an initialization function that returns a token. #204

Open Ms2ger opened 8 years ago

Ms2ger commented 8 years ago

We could then require that token to call Runtime::new(), to ensure that you can't call it if you haven't called JS_Init().