Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile for target x86_64-pc-windows-gnu (ld: cannot find -lntdll) #995

Closed
MegaBrutal opened this issue Feb 16, 2023 · 3 comments
Closed

Comments

@MegaBrutal
Copy link

I'm porting one of my Linux tools to Windows and it fails to compile when the postgres crate is added as a dependency. I opted for using target x86_64-pc-windows-gnu because x86_64-pc-windows-msvc would require me to install a large Visual Studio toolchain that I doubt I really need.

Here is a minimal project to reproduce the issue:

Cargo.toml:

[package]
name = "test-postgres"
version = "0.1.0"
edition = "2021"

[dependencies]
postgres = "0.19.4"

src/main.rs:

use postgres::{Client, NoTls};

fn psql_query_rows(db: &str, query: &str) -> Result<Vec<postgres::Row>, postgres::Error>
{
	Client::connect(&format!("host=localhost user=postgres password=postgres dbname={}", db), NoTls)?
		.query(query, &[])
}

fn main() {
	let query = "SELECT id,first_name,last_name FROM employee";
	println!("Query: {}\nResult: {:?}", query, psql_query_rows("postgres", query));
}

When I try to compile it, I get the following error:

error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\self-contained\\crt2.o" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\User\\AppData\\Local\\Temp\\rustc04PVau\\symbols.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.0.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.1.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.10.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.11.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.12.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.13.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.14.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.15.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.2.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.3.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.4.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.5.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.6.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.7.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.8.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.test_postgres.6ef6fcdb-cgu.9.rcgu.o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.4e4tm9ledjat98t5.rcgu.o" "-L" "D:\\Rust\\test-postgres\\target\\release\\deps" "-L" "C:\\Users\\User\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\windows_x86_64_gnu-0.42.1\\lib" "-L" "C:\\Users\\User\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\Rust\\test-postgres\\target\\release\\deps\\libpostgres-fdea72142df6fc02.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtokio_postgres-e80f58e5819c1d77.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libphf-603ddcb8d401cbd6.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libphf_shared-f5950e4c6b3bc554.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libsiphasher-b1f931680d56967e.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libpercent_encoding-eb3e184fe44792e0.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtokio_util-ae92f23a12874792.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtracing-e18c0d255f67c6c8.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtracing_core-a05dfeb4e873f393.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libonce_cell-ce157a4fb7aaedd5.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libparking_lot-988f58b4f98a39bf.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libparking_lot_core-fab1fda92c5c899e.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libsmallvec-2255f56ffef2b591.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\liblock_api-904a50ca69518ee6.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libscopeguard-13026f6ed72d5925.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libfutures_channel-d180366deab91831.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtokio-04c5261866c349d1.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libsocket2-cd8736807f4f481b.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libwinapi-ab4a1de6009983dd.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libwindows_sys-1fad723210bb10e7.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libmio-f997d5b16d337317.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libwindows_sys-1df24c3cbfef1a77.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\liblog-b1c57e2db2d5d461.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libpostgres_types-c9991ac9e06cbda4.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libpostgres_protocol-35aec523b4c50f22.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libbase64-837d95ca0ea9fac4.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libstringprep-021f97b4fda3ea96.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libunicode_normalization-488534a4b2e3f3b3.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtinyvec-30c01d5d11293688.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtinyvec_macros-7bec78b12d269d67.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libunicode_bidi-ff0ad9ce22ee0b57.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libmemchr-18a78a64327c651c.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libsha2-a1f2671cc6f441d1.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libcpufeatures-b9c9f82511d0b8d0.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\librand-08d9751947a159df.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\librand_chacha-c331af7a5d5835e0.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libppv_lite86-748450ab04f31bb6.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\librand_core-f2e4a5eea5b4b4c8.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libgetrandom-31bd6e5e40408fe1.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libcfg_if-8d0bdc3466d8fe59.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libhmac-be76e090d3956847.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libmd5-0ae6c113c1bbedfc.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libdigest-edcef853b45e8a43.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libsubtle-f11afa521dc7a8d0.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libblock_buffer-ba9b940a87d6b737.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libcrypto_common-c9062473ba6cc48b.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libgeneric_array-988da219d2f9eef1.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libtypenum-a63f270a5b2b69be.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libfutures_util-131c0fe1eecd6220.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libslab-39a5443913786b6f.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libpin_project_lite-bdfe95090f2914c7.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libfutures_sink-7c504ca1135969cf.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libfutures_task-8ed42d82569d0925.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libpin_utils-54c2332307bd2855.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libfutures_core-90dc9cff1d0ca39e.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libbytes-46f936b1d496ed07.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libbyteorder-f15cd827eeccd005.rlib" "D:\\Rust\\test-postgres\\target\\release\\deps\\libfallible_iterator-287dcd39119a3f86.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-a73802b277b8e653.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-b58cdaac8171c254.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-d08779a03ea819f2.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-e0af7175c5b3f4bd.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-6d52d94befc8840f.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-4a08728bb43f7f3e.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-cabbabd1fb98ae23.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-9e6f2a8e1c9b8033.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d69df6007b729193.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-01377e8ce16592c7.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-55ef25959858fd57.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-2472e5240618b585.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2afe724482cf62fa.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-48b872d5a2bb0096.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-dee7a4d657e124bd.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-4f26e328114b6510.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-9848a62a497bd0b7.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-4c56368b40b44789.rlib" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-82abfd2e7a4dff39.rlib" "-Wl,-Bdynamic" "-lwinapi_advapi32" "-lwinapi_cfgmgr32" "-lwinapi_fwpuclnt" "-lwinapi_kernel32" "-lwinapi_ntdll" "-lwinapi_user32" "-lwinapi_ws2_32" "-lwindows" "-lntdll" "-lwindows" "-lbcrypt" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-nostartfiles" "-L" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-L" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\self-contained" "-o" "D:\\Rust\\test-postgres\\target\\release\\deps\\test_postgres-3a5c1eeebebfcf60.exe" "-Wl,--gc-sections" "-no-pie" "-Wl,-O1" "-nodefaultlibs" "C:\\Users\\User\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: ld: cannot find -lntdll


error: could not compile `test-postgres` due to previous error

So it can't link to ntdll, but I don't know why. I see the postgres crate depends on winapi and windows-sys, but if I try to directly use these crates, I can link to ntdll just fine, even with x86_64-w64-mingw32-gcc, so it seems postgres has a special circumstance which prevents that.

@sfackler
Copy link
Owner

There is nothing in this crate that references Windows in any way. This seems like a general issue with your cross compilation toolchain or an upstream dependency.

@MegaBrutal
Copy link
Author

It seems tokio and parking_log references Windows libraries.

test-postgres v0.1.0 (D:\Rust\test-postgres)
└── postgres v0.19.4
    ├── bytes v1.4.0
    ├── fallible-iterator v0.2.0
    ├── futures-util v0.3.26
    │   ├── futures-core v0.3.26
    │   ├── futures-macro v0.3.26 (proc-macro)
    │   │   ├── proc-macro2 v1.0.51
    │   │   │   └── unicode-ident v1.0.6
    │   │   ├── quote v1.0.23
    │   │   │   └── proc-macro2 v1.0.51 (*)
    │   │   └── syn v1.0.107
    │   │       ├── proc-macro2 v1.0.51 (*)
    │   │       ├── quote v1.0.23 (*)
    │   │       └── unicode-ident v1.0.6
    │   ├── futures-sink v0.3.26
    │   ├── futures-task v0.3.26
    │   ├── pin-project-lite v0.2.9
    │   ├── pin-utils v0.1.0
    │   └── slab v0.4.7
    │       [build-dependencies]
    │       └── autocfg v1.1.0
    ├── log v0.4.17
    │   └── cfg-if v1.0.0
    ├── tokio v1.25.0
    │   ├── bytes v1.4.0
    │   ├── memchr v2.5.0
    │   ├── mio v0.8.6
    │   │   ├── log v0.4.17 (*)
    │   │   └── windows-sys v0.45.0
    │   │       └── windows-targets v0.42.1
    │   │           └── windows_x86_64_gnu v0.42.1
    │   ├── pin-project-lite v0.2.9
    │   ├── socket2 v0.4.7
    │   │   └── winapi v0.3.9
    │   │       └── winapi-x86_64-pc-windows-gnu v0.4.0
    │   └── windows-sys v0.42.0
    │       └── windows_x86_64_gnu v0.42.1
    │   [build-dependencies]
    │   └── autocfg v1.1.0
    └── tokio-postgres v0.7.7
        ├── async-trait v0.1.64 (proc-macro)
        │   ├── proc-macro2 v1.0.51 (*)
        │   ├── quote v1.0.23 (*)
        │   └── syn v1.0.107 (*)
        ├── byteorder v1.4.3
        ├── bytes v1.4.0
        ├── fallible-iterator v0.2.0
        ├── futures-channel v0.3.26
        │   ├── futures-core v0.3.26
        │   └── futures-sink v0.3.26
        ├── futures-util v0.3.26 (*)
        ├── log v0.4.17 (*)
        ├── parking_lot v0.12.1
        │   ├── lock_api v0.4.9
        │   │   └── scopeguard v1.1.0
        │   │   [build-dependencies]
        │   │   └── autocfg v1.1.0
        │   └── parking_lot_core v0.9.7
        │       ├── cfg-if v1.0.0
        │       ├── smallvec v1.10.0
        │       └── windows-sys v0.45.0 (*)
        ├── percent-encoding v2.2.0
        ├── phf v0.11.1
        │   └── phf_shared v0.11.1
        │       └── siphasher v0.3.10
        ├── pin-project-lite v0.2.9
        ├── postgres-protocol v0.6.4
        │   ├── base64 v0.13.1
        │   ├── byteorder v1.4.3
        │   ├── bytes v1.4.0
        │   ├── fallible-iterator v0.2.0
        │   ├── hmac v0.12.1
        │   │   └── digest v0.10.6
        │   │       ├── block-buffer v0.10.3
        │   │       │   └── generic-array v0.14.6
        │   │       │       └── typenum v1.16.0
        │   │       │       [build-dependencies]
        │   │       │       └── version_check v0.9.4
        │   │       ├── crypto-common v0.1.6
        │   │       │   ├── generic-array v0.14.6 (*)
        │   │       │   └── typenum v1.16.0
        │   │       └── subtle v2.4.1
        │   ├── md-5 v0.10.5
        │   │   └── digest v0.10.6 (*)
        │   ├── memchr v2.5.0
        │   ├── rand v0.8.5
        │   │   ├── rand_chacha v0.3.1
        │   │   │   ├── ppv-lite86 v0.2.17
        │   │   │   └── rand_core v0.6.4
        │   │   │       └── getrandom v0.2.8
        │   │   │           └── cfg-if v1.0.0
        │   │   └── rand_core v0.6.4 (*)
        │   ├── sha2 v0.10.6
        │   │   ├── cfg-if v1.0.0
        │   │   ├── cpufeatures v0.2.5
        │   │   └── digest v0.10.6 (*)
        │   └── stringprep v0.1.2
        │       ├── unicode-bidi v0.3.10
        │       └── unicode-normalization v0.1.22
        │           └── tinyvec v1.6.0
        │               └── tinyvec_macros v0.1.1
        ├── postgres-types v0.2.4
        │   ├── bytes v1.4.0
        │   ├── fallible-iterator v0.2.0
        │   └── postgres-protocol v0.6.4 (*)
        ├── socket2 v0.4.7 (*)
        ├── tokio v1.25.0 (*)
        └── tokio-util v0.7.7
            ├── bytes v1.4.0
            ├── futures-core v0.3.26
            ├── futures-sink v0.3.26
            ├── pin-project-lite v0.2.9
            ├── tokio v1.25.0 (*)
            └── tracing v0.1.37
                ├── cfg-if v1.0.0
                ├── pin-project-lite v0.2.9
                └── tracing-core v0.1.30
                    └── once_cell v1.17.1

Maybe I should test these libraries alone as well and report the problem against them, in case one of them reproduces the problem.

I'm trying to compile on native Windows, by the way, in order to rule out cross-compile problems. Of course later I might switch to cross compiling as it would be more convenient.

@MegaBrutal
Copy link
Author

All right, reproduced with tokio alone.
In fact, going further down the tree, I found the culprit is mio.
Aaaand... it's already reported there: tokio-rs/mio#1632.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants