Skip to content

Commit

Permalink
[c#] dotnetastgen for linux on arm is linux-arm64 (#5260)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierpinho authored Jan 27, 2025
1 parent 658933f commit d41b158
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ class DotNetAstGenRunner(config: Config) extends AstGenRunnerBase(config) {
private val logger = LoggerFactory.getLogger(getClass)

// The x86 variant seems to run well enough on MacOS M-family chips, whereas the ARM build crashes
override val MacArm: String = MacX86
override val WinArm: String = WinX86
override val MacArm: String = MacX86
override val WinArm: String = WinX86
override val LinuxArm: String = "linux-arm64"

override def fileFilter(file: String, out: File): Boolean = {
file.stripSuffix(".json").replace(out.pathAsString, config.inputPath) match {
Expand Down

0 comments on commit d41b158

Please sign in to comment.