# Update \`\_\_chkstk_ms\` to have weak linkage \(\#20138\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 45be80364659332807b527670514332a4b835f84

Requested commit: 45be80364659332807b527670514332a4b835f84

Commit: 45be80364659332807b527670514332a4b835f84

Tree: ac086be6b07c43b19d433924240d42821d0141d5

Author: Ryan Sepassi

Committer: GitHub

## Message

```
Update `__chkstk_ms` to have weak linkage (#20138)

* Update `__chkstk_ms` to have weak linkage

`__chkstk_ms` was causing conflicts during linking in some circumstances (specifically with linking object files from Rust sources). This PR switches `__chkstk_ms` to have weak linkage.

#15107

* Update stack_probe.zig to weak linkage for all symbols
```

## Parents

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

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