From dacd72abfa54dec466ed4dc0bae1f604050769a0 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Mon, 16 Feb 2026 18:17:09 +0800 Subject: [PATCH] try --- .github/workflows/ci_i386_linux.yml | 3 --- lib/system/gc.nim | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_i386_linux.yml b/.github/workflows/ci_i386_linux.yml index ce0d77e4ec..96359a0db2 100644 --- a/.github/workflows/ci_i386_linux.yml +++ b/.github/workflows/ci_i386_linux.yml @@ -1,9 +1,6 @@ name: i386 Linux CI on: - push: - branches: - - '*' pull_request: branches: - '*' diff --git a/lib/system/gc.nim b/lib/system/gc.nim index 4b02b2f257..73718f25a0 100644 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -463,7 +463,7 @@ proc rawNewObj(typ: PNimType, size: int, gch: var GcHeap): pointer = var res = cast[PCell](rawAlloc(gch.region, size + sizeof(Cell), alignment)) #gcAssert typ.kind in {tyString, tySequence} or size >= typ.base.size, "size too small" # Check that the user data (after the Cell header) is properly aligned - gcAssert((cast[int](cellToUsr(res)) and (alignment-1)) == 0, "newObj: 2") + gcAssert((cast[int](cellToUsr(res)) and (alignment-1)) == 0, "newObj: 23") # now it is buffered in the ZCT res.typ = typ setFrameInfo(res) @@ -516,7 +516,7 @@ proc newObjRC1(typ: PNimType, size: int): pointer {.compilerRtl, noinline, raise var res = cast[PCell](rawAlloc(gch.region, size + sizeof(Cell), alignment)) sysAssert(allocInv(gch.region), "newObjRC1 after rawAlloc") # Check that the user data (after the Cell header) is properly aligned - sysAssert((cast[int](cellToUsr(res)) and (alignment-1)) == 0, "newObj: 2") + sysAssert((cast[int](cellToUsr(res)) and (alignment-1)) == 0, "newObj: 23") # now it is buffered in the ZCT res.typ = typ setFrameInfo(res)