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
Rework platform specific search directories to be specified via a trait based api.
OS specific field definitions is quite raw. Ideally we would have a JvmPlatform trait like below which each platform exposes an implementation of.
// Not the final definition of the traitpubtraitJvmPlatform:Sized{/// Returns a list of paths indicating where a JVM may be installed.fnsearch_directories() -> Vec<PathBuf>;/// Returns whether the JVM installed at the location.fnis_jvm_installed(path:implAsRef<Path>) -> bool{self.run_jvm(path,&["--version"]).ok()}/// Run a JVM command using the JVM at the specified path.fnrun_jvm(path:implAsRef<Path>,args:&[&str]) -> io::Result<()>;}
Build changes
Binaries should also have symbols stripped, there is a strip field in profiles now.
The text was updated successfully, but these errors were encountered:
A few changes should be made to the native launch mechanism:
rfd
. Fundamentally it is a better library for message dialogs.JvmPlatform
trait like below which each platform exposes an implementation of.strip
field in profiles now.The text was updated successfully, but these errors were encountered: