remove old passC

This commit is contained in:
Daylin Morgan 2024-12-24 10:44:49 -06:00
parent a3b4ea2046
commit 2f43325a5a
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -2,12 +2,6 @@ import std/[httpclient,logging, os, strformat, strutils, json, tables, tempfiles
import jsony, hwylterm, hwylterm/logging, zippy/ziparchives
import ./[exec, context]
# localPassC is used by zippy but the additional
# module mangling on nixos somehow breaks localPassC
# https://github.com/NixOS/nixpkgs/issues/356524
when defined(amd64) and (defined(gcc) or defined(clang)):
{.passC: "-msse4.1 -mpclmul".}
template withTmpDir(body: untyped): untyped =
let tmpDir {.inject.} = createTempDir("oizys","")
body