Skip to content

Commit 9b22b02

Browse files
committed
Pick markdown lint
1 parent 5618277 commit 9b22b02

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,7 @@ Use these established guards — do not invent new ones:
492492
| `_M_ARM64` / `_M_X64` / `_M_IX86` | Architecture-specific code paths for MSVC (`#ifdef`) |
493493
| `_M_ARM64EC` | ARM64EC ABI (ARM64 code with x64 interop using ARM-NEON) for MSVC |
494494
| `__aarch64__` / `__x86_64__` / `__i386__` / `__powerpc64__` | Additional architecture-specific symbols for MinGW/GNUC (`#if`) |
495-
496-
> `_M_ARM` / `__arm__` is legacy 32-bit ARM which is deprecated.
495+
| `_M_ARM` / `__arm__` | This is the legacy 32-bit Windows on ARM which is deprecated.|
497496

498497
> GNU predefined architecture macros (`__aarch64__`, `__x86_64__`, `__i386__`, `__powerpc64__`, `__arm__`) are always defined to `1` by the compiler — they are **not** merely defined/undefined like MSVC's `_M_ARM64`. Use them **bare** (without `defined()`) in `#if` expressions: `#if __aarch64__`, not `#if defined(__aarch64__)`. Using `defined()` is technically valid but inconsistent with the project's convention and suppresses `-Wundef` unnecessarily.
499498

0 commit comments

Comments
 (0)