mirror of
https://github.com/denoland/deno.git
synced 2025-02-20 12:22:52 -05:00
chore(runtime): fix build.rs (#18112)
This commit is contained in:
parent
5f0931e6c8
commit
553fc5e2f1
1 changed files with 1 additions and 2 deletions
|
@ -319,8 +319,7 @@ mod startup_snapshot {
|
||||||
{
|
{
|
||||||
use deno_core::ExtensionFileSourceCode;
|
use deno_core::ExtensionFileSourceCode;
|
||||||
maybe_additional_extension = Some(
|
maybe_additional_extension = Some(
|
||||||
Extension::builder("runtime_main")
|
Extension::builder_with_deps("runtime_main", vec!["runtime"])
|
||||||
.dependencies(vec!["runtime"])
|
|
||||||
.esm(vec![ExtensionFileSource {
|
.esm(vec![ExtensionFileSource {
|
||||||
specifier: "js/99_main.js".to_string(),
|
specifier: "js/99_main.js".to_string(),
|
||||||
code: ExtensionFileSourceCode::IncludedInBinary(include_str!(
|
code: ExtensionFileSourceCode::IncludedInBinary(include_str!(
|
||||||
|
|
Loading…
Add table
Reference in a new issue