0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-25 08:39:15 -05:00

docs: add info about settings --harmony-import-assertions flag (#606)

This commit is contained in:
Bartek Iwańczuk 2021-02-09 23:03:25 +01:00 committed by GitHub
parent d60489c395
commit 4ef7ab3fd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,6 +284,8 @@ impl Module {
/// Returns an empty Maybe<bool> if an exception occurred during
/// instantiation. (In the case where the callback throws an exception, that
/// exception is propagated.)
///
/// NOTE: requires to set `--harmony-import-assertions` V8 flag.
#[must_use]
pub fn instantiate_module<'a>(
&self,