# compiler-rt: finish cleanups · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0556a2ba53b8bbb1a60ff31d8dcdde78a8b16727)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0556a2ba53b8bbb1a60ff31d8dcdde78a8b16727

Requested commit: 0556a2ba53b8bbb1a60ff31d8dcdde78a8b16727

Commit: 0556a2ba53b8bbb1a60ff31d8dcdde78a8b16727

Tree: c691076f8f43db00ba0c6e58afebb1300ea4093e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
compiler-rt: finish cleanups

Finishes cleanups that I started in other commits in this branch.

 * Use common.linkage for all exports instead of redoing the logic in
   each file.
 * Remove pointless `@setRuntimeSafety` calls.
 * Avoid redundantly exporting multiple versions of functions. For
   example, if PPC wants `ceilf128` then don't also export `ceilq`;
   similarly if ARM wants `__aeabi_ddiv` then don't also export
   `__divdf3`.
 * Use `inline` for helper functions instead of making inline calls at
   callsites.

```

## Parents

- [3efc229bbf8aaec9de54a702054b091bf890d56e](https://git.cafe/gitcafe/zig/commit/3efc229bbf8aaec9de54a702054b091bf890d56e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0556a2ba53b8bbb1a60ff31d8dcdde78a8b16727?format=markdown)
