Skip to content

Support --cross with the package sub-command#4171

Merged
Gedochao merged 1 commit intoVirtusLab:mainfrom
Gedochao:fix/3591
Mar 12, 2026
Merged

Support --cross with the package sub-command#4171
Gedochao merged 1 commit intoVirtusLab:mainfrom
Gedochao:fix/3591

Conversation

@Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Mar 9, 2026

Fixes #3591

scala-cli package . --power --cross
# Compiling project (Scala 3.3.7, JVM (23))
# Compiled project (Scala 3.3.7, JVM (23))
# Compiling project (Scala 3.3.7, Scala Native 0.5.10)
# Compiled project (Scala 3.3.7, Scala Native 0.5.10)
# Compiling project (Scala 3.8.2, JVM (23))
# Compiled project (Scala 3.8.2, JVM (23))
# Compiling project (Scala 3.8.2, Scala Native 0.5.10)
# Compiled project (Scala 3.8.2, Scala Native 0.5.10)
# Packaging 4 cross builds...
# Packaging for Scala 3.3.7, JVM...
# Wrote ~/scala-cli-tests/run_3.3.7_JVM, run it with
#   ./run_3.3.7_JVM
# Packaging for Scala 3.8.2, Native...
# (...)
# Wrote ~/scala-cli-tests/run_3.8.2_Native, run it with
#   ./run_3.8.2_Native
# Packaging for Scala 3.8.2, JVM...
# Wrote ~/scala-cli-tests/run_3.8.2_JVM, run it with
#   ./run_3.8.2_JVM
# Packaging for Scala 3.3.7, Native...
# (...)
# Wrote ~/scala-cli-tests/run_3.3.7_Native, run it with
#   ./run_3.3.7_Native

@Gedochao Gedochao marked this pull request as ready for review March 12, 2026 11:41
@Gedochao Gedochao requested review from tgodzik and zielinsky March 12, 2026 11:41
@Gedochao Gedochao merged commit 48fa471 into VirtusLab:main Mar 12, 2026
132 of 135 checks passed
@Gedochao Gedochao deleted the fix/3591 branch March 12, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

package should actually package each of the cross-compiled configurations with --cross

2 participants