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:
parent
d60489c395
commit
4ef7ab3fd6
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue