Skip to content
Merged
9 changes: 9 additions & 0 deletions Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,11 @@ os.list(tempDir) ==> Seq(tempDir / "file")

=== Zip & Unzip Files

[NOTE]
====
JVM only: Zip-related APIs are available on the JVM but not on Scala Native. The following symbols are JVM-only and are not defined on Native builds: `os.zip`, `os.unzip`, `os.zip.stream`, `os.unzip.stream`, `os.unzip.list`, and `os.zip.open`.
====

==== `os.zip`

[source,scala]
Expand Down Expand Up @@ -2579,6 +2584,10 @@ string, int or set representations of the `os.PermSet` via:

== Changelog

=== 0.11.6

* Re-enabled Scala Native builds (tested with Scala Native 0.5.8). Zip APIs remain JVM-only.

=== 0.11.5

* Dropped support for Scala-Native, until https://github.com/com-lihaoyi/os-lib/issues/395[Fix and re-enable Scala-Native build (500USD Bounty)]
Expand Down
7 changes: 4 additions & 3 deletions build.mill
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,15 @@ object os extends Module {
}
}

/*object native extends Cross[OsNativeModule](scalaVersions)
object native extends Cross[OsNativeModule](scalaVersions)
trait OsNativeModule extends OsModule with ScalaNativeModule {
def scalaNativeVersion = "0.5.2"
def scalaNativeVersion = "0.5.8"
object test extends ScalaNativeTests with OsLibTestModule {
// Keep stubs linked to tolerate optional symbols across platforms
def nativeLinkStubs = true
}
object nohometest extends ScalaNativeTests with OsLibTestModule
}*/
}

object watch extends Module {
object jvm extends Cross[WatchJvmModule](scalaVersions)
Expand Down
Loading
Loading