about summary refs log tree commit diff
path: root/tests/ui/native-library-link-flags
AgeCommit message (Collapse)AuthorLines
2024-12-07Move tests for `-l` and `#[link(..)]` into `tests/ui/link-native-libs`Zalathar-152/+0
2024-11-18Add some UI tests for `-l` modifier parsingZalathar-0/+19
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-1/+1
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-22/+22
2023-11-30Enable link-arg link kind inside of #[link] attributezetanumbers-18/+9
- Implement link-arg as an attribute - Apply suggestions from review - Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> - Add unstable book entry
2023-11-24Show number in error message even for one errorNilstrieb-3/+3
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-0/+2
2023-08-15stabilize combining +bundle and +whole-archive link modifiersBe Wilson-27/+0
Currently, combining +bundle and +whole-archive works only with #![feature(packed_bundled_libs)] This crate feature is independent of the -Zpacked-bundled-libs command line option. This commit stabilizes the #![feature(packed_bundled_libs)] crate feature and implicitly enables it only when the +bundle and +whole-archive link modifiers are combined. This allows rlib crates to use the +whole-archive link modifier with native libraries and have all symbols included in the linked library to be included in downstream staticlib crates that use the rlib as a dependency. Other cases requiring the packed_bundled_libs behavior still require the -Zpacked-bundled-libs command line option, which can be stabilized independently in the future. Per discussion on https://github.com/rust-lang/rust/issues/108081 there is no risk of regression stabilizing the crate feature in this way because the combination of +bundle,+whole-archive link modifiers was previously not allowed.
2023-05-05Further normalize msvc-non-utf8-ouputChris Denton-10/+3
2023-04-27Fix Unreadable non-UTF-8 output on localized MSVCChris Denton-0/+13
Fixes #35785 by converting non UTF-8 linker output to Unicode using the OEM code page. Before: ```text = note: Non-UTF-8 output: LINK : fatal error LNK1181: cannot open input file \'m\x84rchenhaft.obj\'\r\n ``` After: ```text = note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj' ``` The difference is more dramatic if using a non-ascii language pack for Visual Studio.
2023-02-10[link] enable packed bundled lib in non stable casesDaniil Belov-17/+17
2023-01-11Move /src/test to /testsAlbert Larsan-0/+161