Files
rust/compiler
bors 6bda5b331c Auto merge of #90716 - euclio:libloading, r=cjgillot
replace dynamic library module with libloading

This PR deletes the `rustc_metadata::dynamic_lib` module in favor of the popular and better tested [`libloading` crate](https://github.com/nagisa/rust_libloading/).

We don't benefit from `libloading`'s symbol lifetimes since we end up leaking the loaded library in all cases, but the call-sites look much nicer by improving error handling and abstracting away some transmutes. We also can remove `rustc_metadata`'s direct dependencies on `libc` and `winapi`.

This PR also adds an exception for `libloading` (and its license) to tidy, so this will need sign-off from the compiler team.
2021-12-12 17:28:52 +00:00
..
2021-11-19 07:52:59 +11:00
2021-11-30 13:08:41 -05:00
2021-12-09 00:01:29 +01:00
2021-12-09 00:01:29 +01:00
2021-12-11 11:08:46 +01:00
2021-12-11 11:08:46 +01:00
2021-12-09 00:01:29 +01:00
2021-12-09 00:01:29 +01:00