Skip to content

cargo install wasm-bindgen-cli fails on windows (travis) #2006

Closed
@najamelan

Description

@najamelan

Describe the Bug

It fails to compile with linker errors seemingly related to libcurl. Happens on both stable and nightly. I runs fine in linux and mac os.

Steps to Reproduce

  1. Go to https://travis-ci.org/najamelan/async_executors/jobs/652183842
  2. The travis.yml: https://travis-ci.org/najamelan/async_executors/jobs/652183842/config

I haven't found time to debug this further, but I thought I'd report it because others might start to see builds failing.

Last part of the log:

 = note: C:\Users\travis\AppData\Local\Temp\cargo-install2hNVHf\release\deps\libcurl_sys-c776d319576f8ecc.rlib(url.o):url.c:(.text$Curl_init_userdefined+0x9): undefined reference to `__imp___acrt_iob_func'

          C:\Users\travis\AppData\Local\Temp\cargo-install2hNVHf\release\deps\libcurl_sys-c776d319576f8ecc.rlib(cookie.o):cookie.c:(.text$Curl_cookie_init+0x27b): undefined reference to `__imp___acrt_iob_func'

          C:\Users\travis\AppData\Local\Temp\cargo-install2hNVHf\release\deps\libcurl_sys-c776d319576f8ecc.rlib(cookie.o):cookie.c:(.text$Curl_flush_cookies+0x17f): undefined reference to `__imp___acrt_iob_func'

          C:\Users\travis\AppData\Local\Temp\cargo-install2hNVHf\release\deps\libcurl_sys-c776d319576f8ecc.rlib(formdata.o):formdata.c:(.text$Curl_getformdata.part.0+0x266): undefined reference to `__imp___acrt_iob_func'

          C:\Users\travis\AppData\Local\Temp\cargo-install2hNVHf\release\deps\libcurl_sys-c776d319576f8ecc.rlib(setopt.o):setopt.c:(.text$Curl_vsetopt+0x3b6c): undefined reference to `__imp___acrt_iob_func'

          C:\Users\travis\AppData\Local\Temp\cargo-install2hNVHf\release\deps\libcurl_sys-c776d319576f8ecc.rlib(mprintf.o):mprintf.c:(.text$curl_mprintf+0x29): more undefined references to `__imp___acrt_iob_func' follow

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions