Skip to content

Commit 185219a

Browse files
authored
Merge pull request #3565 from VirtusLab/stable
Back port of documentation changes to main
2 parents 06c4026 + 65c808b commit 185219a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

modules/directives/src/main/scala/scala/build/preprocessing/directives/ScalaNative.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import scala.cli.commands.SpecificationLevel
1010
@DirectiveExamples("//> using nativeVersion 0.4.0")
1111
@DirectiveUsage(
1212
"//> using nativeGc _value_ | using native-version _value_",
13-
"""`//> using nativeGc` _value_
13+
"""`//> using nativeGc` **immix**_|commix|boehm|none_
1414
|
15-
|`//> using nativeMode` _value_
15+
|`//> using nativeMode` **debug**_|release-fast|release-size|release-full_
1616
|
17-
|`//> using nativeLto` _value_
17+
|`//> using nativeLto` **none**_|full|thin_
1818
|
1919
|`//> using nativeVersion` _value_
2020
|

website/docs/reference/directives.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ Manually add a resource directory to the class path
337337

338338
Add Scala Native options
339339

340-
`//> using nativeGc` _value_
340+
`//> using nativeGc` **immix**_|commix|boehm|none_
341341

342-
`//> using nativeMode` _value_
342+
`//> using nativeMode` **debug**_|release-fast|release-size|release-full_
343343

344-
`//> using nativeLto` _value_
344+
`//> using nativeLto` **none**_|full|thin_
345345

346346
`//> using nativeVersion` _value_
347347

website/docs/reference/scala-command/directives.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ Manually add a resource directory to the class path
227227

228228
Add Scala Native options
229229

230-
`//> using nativeGc` _value_
230+
`//> using nativeGc` **immix**_|commix|boehm|none_
231231

232-
`//> using nativeMode` _value_
232+
`//> using nativeMode` **debug**_|release-fast|release-size|release-full_
233233

234-
`//> using nativeLto` _value_
234+
`//> using nativeLto` **none**_|full|thin_
235235

236236
`//> using nativeVersion` _value_
237237

0 commit comments

Comments
 (0)