Commit c15afda
src: get embedder options on-demand
Only query embedder options when they are needed so that the bootstrap
remains as stateless as possible so that the bootstrap snapshot is
controlled solely by configure options, and subsequent runtime changes
should be done in pre-execution.
PR-URL: #40357
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>1 parent bfdd32f commit c15afdaCopy full SHA for c15afda
File tree
Expand file treeCollapse file tree
4 files changed
+48
-30
lines changedOpen diff view settings
Filter options
- lib/internal
- bootstrap
- src
Expand file treeCollapse file tree
4 files changed
+48
-30
lines changedOpen diff view settings
Collapse file
lib/internal/bootstrap/pre_execution.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/pre_execution.js+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
| 14 | + |
16 | 15 | |
17 | 16 | |
18 | 17 | |
| ||
421 | 420 | |
422 | 421 | |
423 | 422 | |
424 | | - |
| 423 | + |
425 | 424 | |
426 | 425 | |
427 | 426 | |
| ||
433 | 432 | |
434 | 433 | |
435 | 434 | |
436 | | - |
| 435 | + |
437 | 436 | |
438 | 437 | |
439 | 438 | |
|
Collapse file
+17-11Lines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | | - |
| 4 | + |
| 5 | + |
7 | 6 | |
8 | 7 | |
9 | 8 | |
10 | 9 | |
11 | 10 | |
12 | 11 | |
| 12 | + |
13 | 13 | |
14 | | - |
| 14 | + |
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | 31 | |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
32 | 39 | |
33 | | - |
| 40 | + |
34 | 41 | |
35 | 42 | |
36 | 43 | |
| ||
54 | 61 | |
55 | 62 | |
56 | 63 | |
57 | | - |
| 64 | + |
58 | 65 | |
59 | 66 | |
60 | 67 | |
61 | 68 | |
62 | 69 | |
63 | 70 | |
64 | | - |
65 | | - |
| 71 | + |
66 | 72 | |
Collapse file
+27-14Lines changed: 27 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
915 | 915 | |
916 | 916 | |
917 | 917 | |
918 | | - |
| 918 | + |
919 | 919 | |
920 | 920 | |
921 | 921 | |
| ||
1056 | 1056 | |
1057 | 1057 | |
1058 | 1058 | |
| 1059 | + |
| 1060 | + |
| 1061 | + |
| 1062 | + |
| 1063 | + |
| 1064 | + |
| 1065 | + |
| 1066 | + |
| 1067 | + |
| 1068 | + |
| 1069 | + |
| 1070 | + |
| 1071 | + |
| 1072 | + |
| 1073 | + |
| 1074 | + |
| 1075 | + |
| 1076 | + |
| 1077 | + |
| 1078 | + |
| 1079 | + |
| 1080 | + |
| 1081 | + |
| 1082 | + |
1059 | 1083 | |
1060 | 1084 | |
1061 | 1085 | |
1062 | 1086 | |
1063 | 1087 | |
1064 | 1088 | |
1065 | | - |
| 1089 | + |
| 1090 | + |
1066 | 1091 | |
1067 | 1092 | |
1068 | 1093 | |
| ||
1072 | 1097 | |
1073 | 1098 | |
1074 | 1099 | |
1075 | | - |
1076 | | - |
1077 | | - |
1078 | | - |
1079 | | - |
1080 | | - |
1081 | | - |
1082 | | - |
1083 | | - |
1084 | | - |
1085 | | - |
1086 | | - |
1087 | 1100 | |
1088 | 1101 | |
1089 | 1102 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
461 | 461 | |
462 | 462 | |
463 | 463 | |
464 | | - |
| 464 | + |
465 | 465 | |
466 | 466 | |
467 | 467 | |
|
0 commit comments