Skip to content

x86_64-pc-windows-msvc build failing: expected src/lib.rs to start with: #10

Open
@klensy

Description

@klensy

building 2ced82c failed:

error: failed to run custom build command for `rustc_apfloat v0.2.0+llvm-462a31f5a5ab (G:\projs\rustc_apfloat)`

Caused by:
  process didn't exit successfully: `G:\projs\rustc_apfloat\target\debug\build\rustc_apfloat-cd007fccae510ac7\build-scri
pt-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs

  --- stderr

  expected `src/lib.rs` to start with:

  //! Port of LLVM's APFloat software floating-point implementation from the
  //! following C++ sources (please update commit hash when backporting):
  //! https://github.com/llvm/llvm-project/commit/

  thread 'main' panicked at 'failed to validate `src/lib.rs`'s commit hash (see above)', build.rs:32:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Probably line ending mismatch?

Reproduce: clone master branch, build with cargo build on x86_64-pc-windows-msvc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions