Skip to content

Commit

Permalink
feat: enable Float16Array support (#23490)
Browse files Browse the repository at this point in the history
Closes #23450
  • Loading branch information
bartlomieju authored Apr 23, 2024
1 parent 5236fd0 commit b0d3b20
Show file tree
Hide file tree
Showing 6 changed files with 576 additions and 29 deletions.
2 changes: 1 addition & 1 deletion cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 385,7 @@ fn resolve_flags_and_init(
// Using same default as VSCode:
// https://github.com/microsoft/vscode/blob/48d4ba271686e8072fc6674137415bc80d936bc7/extensions/typescript-language-features/src/configuration/configuration.ts#L213-L214
DenoSubcommand::Lsp => vec!["--max-old-space-size=3072".to_string()],
_ => vec![],
_ => vec!["--js-float16array".to_string()],
};

init_v8_flags(&default_v8_flags, &flags.v8_flags, get_v8_flags_from_env());
Expand Down
Loading

0 comments on commit b0d3b20

Please sign in to comment.