Skip to content

Commit f675661

Browse files
fix link to LLVM libcalls-sync
1 parent 080915f commit f675661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/custom-target.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You can pretty much copy that output into your file. Start with a few modificati
6464
may set `"max-atomic-width": 32` in that case.
6565
- I have no native atomic operations, but I can emulate them myself: set `max-atomic-width` to the
6666
highest number of bits that you can emulate up to 128, then implement all of the
67-
[atomic][libcalls-atomic] and [sync][libcalls-atomic] functions expected by LLVM as
67+
[atomic][libcalls-atomic] and [sync][libcalls-sync] functions expected by LLVM as
6868
`#[no_mangle] unsafe extern "C"`. These functions have been standardized by gcc, so the [gcc
6969
documentation][gcc-sync] may have more notes. Missing functions will cause a linker error, while
7070
incorrectly implemented functions will possibly cause UB. For example, if you have a

0 commit comments

Comments
 (0)