mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-04 23:50:43 -06:00
remove old passC
This commit is contained in:
parent
a3b4ea2046
commit
2f43325a5a
1 changed files with 0 additions and 6 deletions
|
@ -2,12 +2,6 @@ import std/[httpclient,logging, os, strformat, strutils, json, tables, tempfiles
|
||||||
import jsony, hwylterm, hwylterm/logging, zippy/ziparchives
|
import jsony, hwylterm, hwylterm/logging, zippy/ziparchives
|
||||||
import ./[exec, context]
|
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 =
|
template withTmpDir(body: untyped): untyped =
|
||||||
let tmpDir {.inject.} = createTempDir("oizys","")
|
let tmpDir {.inject.} = createTempDir("oizys","")
|
||||||
body
|
body
|
||||||
|
|
Loading…
Reference in a new issue