Files
rust/src/doc
bors f383703e32 Auto merge of #111698 - Amanieu:force-static-lib, r=petrochenkov
Force all native libraries to be statically linked when linking a static binary

Previously, `#[link]` without an explicit `kind = "static"` would confuse the linker and end up producing a dynamically linked library because of the `-Bdynamic` flag. However this binary would not work correctly anyways since it was linked with startup code for a static binary.

This PR solves this by forcing all native libraries to be statically linked when the output is a static binary that cannot link to dynamic libraries anyways.

Fixes #108878
Fixes #102993
2023-06-07 22:02:24 +00:00
..
2023-04-24 13:00:24 -04:00
2023-05-08 13:00:54 -04:00
2023-05-22 13:00:33 -04:00
2023-05-22 13:00:33 -04:00
2023-05-22 11:00:43 -07:00
2023-05-08 13:00:54 -04:00
2023-05-22 13:00:33 -04:00
2022-01-28 13:42:48 +01:00
2019-09-30 07:46:10 +02:00
2023-02-24 13:21:02 -05:00
2022-01-28 13:42:48 +01:00
2021-07-10 19:51:36 +02:00
2018-05-17 12:25:24 -07:00