Skip to content

Commit

Permalink
Merge #76
Browse files Browse the repository at this point in the history
76: Fix link to LLVM libcalls-sync on custom targets page r=jamesmunns a=calvinkosmatka

Found a typo'd link on the custom targets page

Co-authored-by: Calvin Kosmatka <calvin.kosmatka@gmail.com>
  • Loading branch information
bors[bot] and calvinkosmatka committed Feb 10, 2022
2 parents 080915f + f675661 commit b99dd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/custom-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ You can pretty much copy that output into your file. Start with a few modificati
may set `"max-atomic-width": 32` in that case.
- I have no native atomic operations, but I can emulate them myself: set `max-atomic-width` to the
highest number of bits that you can emulate up to 128, then implement all of the
[atomic][libcalls-atomic] and [sync][libcalls-atomic] functions expected by LLVM as
[atomic][libcalls-atomic] and [sync][libcalls-sync] functions expected by LLVM as
`#[no_mangle] unsafe extern "C"`. These functions have been standardized by gcc, so the [gcc
documentation][gcc-sync] may have more notes. Missing functions will cause a linker error, while
incorrectly implemented functions will possibly cause UB. For example, if you have a
Expand Down

0 comments on commit b99dd0e

Please sign in to comment.