-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graalvm 22, fixed minor bugs, branch-level adt wrapping in JSON codecs
- Loading branch information
Showing
10 changed files
with
139 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
nix-shell --pure ./shell.nix --run ./test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version = 1.9.2 | ||
sbt.version = 1.10.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
//addSbtPlugin("org.jetbrains.scala" % "sbt-ide-settings" % "1.1.1") | ||
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.0") | ||
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4") | ||
addSbtPlugin("io.7mind.izumi.sbt" % "sbt-izumi" % "0.0.101") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz") { } }: | ||
|
||
pkgs.mkShell { | ||
nativeBuildInputs = with pkgs.buildPackages; [ ncurses graalvm-ce sbt dotnet-sdk_7 ]; | ||
} |
42 changes: 42 additions & 0 deletions
42
src/main/resources/META-INF/native-image/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"name":"[Lizumi.distage.model.plan.ExecutableOp;" | ||
}, | ||
{ | ||
"name":"[Ljava.lang.String;" | ||
}, | ||
{ | ||
"name":"com.intellij.rt.execution.application.AppMainV2$Agent", | ||
"methods":[{"name":"premain","parameterTypes":["java.lang.String","java.lang.instrument.Instrumentation"] }] | ||
}, | ||
{ | ||
"name":"izumi.distage.provisioning.strategies.dynamicproxy.DynamicProxyProvider$", | ||
"fields":[{"name":"MODULE$"}] | ||
}, | ||
{ | ||
"name":"java.lang.ClassValue" | ||
}, | ||
{ | ||
"name":"java.lang.String" | ||
}, | ||
{ | ||
"name":"java.lang.invoke.VarHandle", | ||
"methods":[{"name":"releaseFence","parameterTypes":[] }] | ||
}, | ||
{ | ||
"name":"java.util.concurrent.atomic.AtomicBoolean", | ||
"fields":[{"name":"value"}] | ||
}, | ||
{ | ||
"name":"java.util.concurrent.atomic.AtomicReference", | ||
"fields":[{"name":"value"}] | ||
}, | ||
{ | ||
"name":"scala.Symbol", | ||
"methods":[{"name":"apply","parameterTypes":["java.lang.String"] }] | ||
}, | ||
{ | ||
"name":"sun.security.provider.SHA2$SHA256", | ||
"methods":[{"name":"<init>","parameterTypes":[] }] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
set -e | ||
|
||
sbt GraalVMNativeImage/packageBin | ||
|
||
target/graalvm-native-image/baboon \ | ||
--model-dir ./src/test/resources/baboon/ \ | ||
--output ./test/cs-stub/ConversionsTest/Generated \ | ||
--test-output ./test/cs-stub/ConversionsTest/Generated | ||
pushd . | ||
|
||
cd ./test/cs-stub | ||
dotnet build | ||
dotnet test ConversionsTest/ConversionsTest.csproj | ||
|
||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
Generated/ | ||
|
||
global.json | ||
|
||
bin/ | ||
obj/ | ||
/packages/ | ||
|