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
Command Line Interface for the tools component of Scala Native. Tools handle the linking, optimisation and code generation phases.
4
-
This means that the initial .scala files cannot be compiled with it - for that look to the nscplugin component.
3
+
Command Line Interface for the various components of Scala Native.
5
4
6
-
Please note that this api is meant for Scala Native power users. For a more friendly Scala Native building experience please use
5
+
* scala-native-c compiles the Scala code to NIR (Native Intermediate Representation).
6
+
* scala-native-ld links and optimises the NIR code to a binary file.
7
+
* scala-native-p allows to view the compiled NIR code.
8
+
9
+
Please note that this api is meant for Scala Native power users. For a more friendly Scala Native building experience please consider using
7
10
the dedicated [sbt plugin](https://scala-native.readthedocs.io/en/stable/user/sbt.html#minimal-sbt-project) or [scala-cli](https://scala-cli.virtuslab.org).
8
11
9
12
## Usage
10
13
11
-
scala-native-cli --help will bring up possible options and syntax.
14
+
`scala-native-ld --help` will bring up possible options and syntax.
12
15
Since options are dependent on the used version of scala-native-cli, please use it for further instructions.
13
16
14
-
## Logging
17
+
## Logging
15
18
16
19
For logging purposes, a default Scala Native logger is used. By default it will only show `Error` messages, but its verbosity can be increased with a -v flag.
0 commit comments