rust/tests/ui/rfcs
Noratrieb a954c51280 Support raw-dylib link kind on ELF
raw-dylib is a link kind that allows rustc to link against a library
without having any library files present.
This currently only exists on Windows. rustc will take all the symbols
from raw-dylib link blocks and put them in an import library, where they
can then be resolved by the linker.

While import libraries don't exist on ELF, it would still be convenient
to have this same functionality. Not having the libraries present at
build-time can be convenient for several reasons, especially
cross-compilation. With raw-dylib, code linking against a library can be
cross-compiled without needing to have these libraries available on the
build machine. If the libc crate makes use of this, it would allow
cross-compilation without having any libc available on the build
machine. This is not yet possible with this implementation, at least
against libc's like glibc that use symbol versioning.
The raw-dylib kind could be extended with support for symbol versioning
in the future.

This implementation is very experimental and I have not tested it very
well. I have tested it for a toy example and the lz4-sys crate, where it
was able to successfully link a binary despite not having a
corresponding library at build-time.
2025-02-26 19:09:51 +01:00
..
impl-trait
rfc-0000-never_patterns Always perform discr read for never pattern in EUV 2025-02-11 21:12:47 +00:00
rfc-0107-bind-by-move-pattern-guards
rfc-1014-stdout-existential-crisis Remove libc from more tests 2024-04-17 08:36:49 -04:00
rfc-1445-restrict-constants-in-patterns Add more context to fall-through "const pattern of non-structural type" error 2024-12-04 20:29:36 +00:00
rfc-1623-static properly fill a promoted's required_consts 2024-04-23 23:02:54 +02:00
rfc-1717-dllimport
rfc-1789-as-cell
rfc-1857-stabilize-drop-order
rfc-1937-termination-trait Remove all dead files inside tests/ui/ 2025-01-27 02:28:04 +01:00
rfc-2005-default-binding-mode
rfc-2008-non-exhaustive Trim suggestion part before generating highlights 2025-02-21 00:54:01 +00:00
rfc-2091-track-caller remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
rfc-2093-infer-outlives
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
rfc-2151-raw-identifiers
rfc-2175-or-if-while-let
rfc-2294-if-let-guard Also check if let chains with multiple lets in these two tests 2024-11-16 05:01:52 +01:00
rfc-2302-self-struct-ctor
rfc-2306-convert-id
rfc-2361-dbg-macro Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
rfc-2396-target_feature-11 Stabilize target_feature_11 2025-01-27 23:44:47 +01:00
rfc-2421-unreserve-pure-offsetof-sizeof-alignof
rfc-2457-non-ascii-idents
rfc-2497-if-let-chains Remove all dead files inside tests/ui/ 2025-01-27 02:28:04 +01:00
rfc-2528-type-changing-struct-update
rfc-2565-param-attrs Stabilize async closures 2024-12-13 00:04:56 +00:00
rfc-3348-c-string-literals Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
type-alias-impl-trait
rfc-3391-result-ffi-guarantees.rs lang: Strengthen RFC 3391 guarantees to match T-lang consensus 2024-10-21 00:43:36 -07:00