Skip to content

Commit accea05

Browse files
authored
Update 2025-11-30-comptime-c-functions.md
1 parent f408ed1 commit accea05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2025-11-30-comptime-c-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Compile-time function execution is great, but what if:
1010
3. You want generic data structures that work for all types.
1111

1212
The below data structure showcase programs get optimized away at compile time by GCC and Clang, such that only the `printf()` at the end of `main()` is left:
13-
```s
13+
```nasm
1414
main:
1515
push rax
1616
lea rdi, [rip + .Lstr]

0 commit comments

Comments
 (0)