Rewrite CompactValue to avoid undefined behavior from the use of a union for type-punning #1154

Closed
htpiv wants to merge 4 commits from htpiv/use-bit-cast into main
5 changed files with 82 additions and 44 deletions
Showing only changes of commit 2292c73091 - Show all commits

View File

@@ -9,6 +9,7 @@ yoga_android_library(
name = "yoga", name = "yoga",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
autoglob = False, autoglob = False,
language = "JAVA",
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],

View File

@@ -9,6 +9,7 @@ yoga_android_library(
name = "android", name = "android",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
autoglob = False, autoglob = False,
language = "JAVA",
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],