1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

deps: remove a duplicate version of libloading

This commit is contained in:
Wez Furlong 2024-05-13 09:45:45 -07:00
parent 6c890c3995
commit c6ffe92853
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
3 changed files with 3 additions and 13 deletions

12
Cargo.lock generated
View File

@ -2949,16 +2949,6 @@ dependencies = [
"pkg-config",
]
[[package]]
name = "libloading"
version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
dependencies = [
"cfg-if",
"winapi",
]
[[package]]
name = "libloading"
version = "0.7.4"
@ -7023,7 +7013,7 @@ dependencies = [
"k9",
"lazy_static",
"libc",
"libloading 0.6.7",
"libloading 0.8.3",
"line_drawing",
"log",
"metrics",

View File

@ -31,7 +31,7 @@ bitflags = "1.3"
euclid = "0.22"
guillotiere = "0.6"
lazy_static = "1.4"
libloading = "0.6"
libloading = "0.8"
line_drawing = "0.8"
log = "0.4"
metrics = "0.22"

View File

@ -440,7 +440,7 @@ impl GlState {
std::env::set_var("LIBGL_ALWAYS_SOFTWARE", "true");
}
for path in &paths {
match libloading::Library::new(path) {
match unsafe { libloading::Library::new(path) } {
Ok(lib) => match EglWrapper::load_egl(lib) {
Ok(egl) => match func(egl) {
Ok(result) => {