about summary refs log tree commit diff
path: root/src/test/ui/native-library-link-flags
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-161/+0
2022-10-13Add suggestion to the "missing native library" errorWesley Wiser-0/+30
If we fail to locate a native library that we are linking with, it could be the case the user entered a complete file name like `foo.lib` or `libfoo.a` when we expect them to simply provide `foo`. In this situation, we now detect that case and suggest the user only provide the library name itself.
2022-07-26Lib kind -l link-arg:Daniil Belov-4/+34
arbitrary link argument like -C link-arg, but respecting relative order to other `-l` options, unstable
2022-06-09Stabilize the `bundle` native library modifierVadim Petrochenkov-8/+4
2022-05-23rustc: Fix ICE in native library error reportingVadim Petrochenkov-0/+11
2022-05-15rustc: Stricter checking for #[link] attributesVadim Petrochenkov-23/+18
2022-03-30Stabilize native library modifier syntax and the `whole-archive` modifier ↵Vadim Petrochenkov-2/+54
specifically
2021-08-30Don't allow both the `+bundle` and `+whole-archive` modifiers for rlibsWesley Wiser-0/+31
2021-05-05Implement RFC 2951: Native link modifiersLuqman Aden-0/+16
This commit implements both the native linking modifiers infrastructure as well as an initial attempt at the individual modifiers from the RFC. It also introduces a feature flag for the general syntax along with individual feature flags for each modifier.