nitro-hermes 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Package.swift +4 -5
- package/package.json +1 -1
package/Package.swift
CHANGED
|
@@ -15,16 +15,15 @@ let hermesCSettings: [CSetting] = [
|
|
|
15
15
|
.define("HERMES_RELEASE_VERSION", to: "\"260318099.0.0\""),
|
|
16
16
|
.define("HERMES_USE_BOOST_CONTEXT", to: "0"),
|
|
17
17
|
.define("STATIC_HERMES"),
|
|
18
|
-
.define("NDEBUG"
|
|
18
|
+
.define("NDEBUG"),
|
|
19
19
|
// Swift Build partially links each target. Keep shared symbols visible
|
|
20
20
|
// so they survive those intermediate links.
|
|
21
21
|
.unsafeFlags([
|
|
22
|
+
"-O3",
|
|
22
23
|
"-fno-strict-aliasing",
|
|
23
24
|
"-fno-strict-overflow",
|
|
24
25
|
"-fvisibility=default",
|
|
25
26
|
]),
|
|
26
|
-
// Debug apps still need a fast engine. Asserts stay on to catch JSI misuse.
|
|
27
|
-
.unsafeFlags(["-O2"], .when(configuration: .debug)),
|
|
28
27
|
.disableWarning("shorten-64-to-32"),
|
|
29
28
|
.disableWarning("invalid-offsetof"),
|
|
30
29
|
]
|
|
@@ -40,14 +39,14 @@ let hermesCxxSettings: [CXXSetting] = [
|
|
|
40
39
|
.define("HERMES_RELEASE_VERSION", to: "\"260318099.0.0\""),
|
|
41
40
|
.define("HERMES_USE_BOOST_CONTEXT", to: "0"),
|
|
42
41
|
.define("STATIC_HERMES"),
|
|
43
|
-
.define("NDEBUG"
|
|
42
|
+
.define("NDEBUG"),
|
|
44
43
|
.unsafeFlags([
|
|
44
|
+
"-O3",
|
|
45
45
|
"-fno-strict-aliasing",
|
|
46
46
|
"-fno-strict-overflow",
|
|
47
47
|
"-fvisibility=default",
|
|
48
48
|
"-fno-visibility-inlines-hidden",
|
|
49
49
|
]),
|
|
50
|
-
.unsafeFlags(["-O2"], .when(configuration: .debug)),
|
|
51
50
|
.disableWarning("nullability-extension"),
|
|
52
51
|
.disableWarning("shorten-64-to-32"),
|
|
53
52
|
.disableWarning("invalid-offsetof"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-hermes",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"optionalDependencies": {
|
|
5
5
|
"nitro-hermes-darwin-arm64": "0.0.0-g26fbb82fad39d9d06901adb1d6d630dacc84c877.baa216da3c4b26e43",
|
|
6
6
|
"nitro-hermes-linux-x64": "0.0.0-g26fbb82fad39d9d06901adb1d6d630dacc84c877.baa216da3c4b26e43"
|