You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to post the following code as an example program for my project using scala-cli:
using lib "fr.hammons::slinc-runtime:0.1.1-72-1cedff"
using `jvm` "19"
using `java-opt` "--enable-native-access=ALL-UNNAMED"importfr.hammons.slinc.runtime.{*,given}
caseclassdiv_t(quot: CInt, rem: CInt) derivesStructobjectMyLibderivesLibrary:defabs(i: CInt):CInt=Library.binding
defdiv(numer: CInt, denom: CInt): div_t =Library.binding
@main defprogram=
println(MyLib.abs(-5)) // prints 5
println(MyLib.div(5,2)) // prints div_t(2,1)
The jvm directive would be helpful because the option set here is java 19 specific.
Describe the solution you'd like
Allow the already existing jvm download feature to be applied via a using directive.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd like to post the following code as an example program for my project using scala-cli:
The jvm directive would be helpful because the option set here is java 19 specific.
Describe the solution you'd like
Allow the already existing jvm download feature to be applied via a using directive.
The text was updated successfully, but these errors were encountered: