Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ lazy val continuations4s = crossProject(JSPlatform, JVMPlatform, NativePlatform)
name := "continuations4s",
libraryDependencies ++= Seq(
// Testing
"org.scalameta" %%% "munit" % "1.3.0" % Test
"org.scalameta" %%% "munit" % "1.3.3" % Test
),
testFrameworks += new TestFramework("munit.Framework"),
Compile / doc / scalacOptions ++= Seq(
Expand All @@ -96,8 +96,8 @@ lazy val continuations4s = crossProject(JSPlatform, JVMPlatform, NativePlatform)
// Emit ES modules with the Wasm backend
scalaJSLinkerConfig :=
scalaJSLinkerConfig.value
.withESFeatures(_.withESVersion(ESVersion.ES2017)) // enable async/await
.withExperimentalUseWebAssembly(true) // use the Wasm backend
.withESFeatures(_.withESVersion(ESVersion.ES2022).withUseWebAssembly(true))
.withWasmFeatures(_.withUseJSPI(true))
.withModuleKind(ModuleKind.ESModule) // required by the Wasm backend
,
// Configure Node.js (at least v23) to support the required Wasm features
Expand Down
Binary file added org/scalajs/linker/interface/StandardConfig.class
Binary file not shown.
Binary file added org/scalajs/linker/interface/WasmFeatures.class
Binary file not shown.
12 changes: 6 additions & 6 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.0")
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.3")
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.5.7")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.1")
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.7")
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.5.8")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.2")

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.21.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.11")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.22.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.12")

// https://github.com/typelevel/sbt-tpolecat/issues/291
libraryDependencies += "org.typelevel" %% "scalac-options" % "0.1.10"
libraryDependencies += "org.typelevel" %% "scalac-options" % "0.1.11"
Loading