Paolo Bonzini <pbonz...@redhat.com> writes:

> Apply a patch that removes "let ... else" constructs, replacing them with
> "if let ... else" or "let ... = match ...".  "let ... else" was stabilized in
> Rust 1.65.0.
>
> Reviewed-by: Zhao Liu <zhao1....@intel.com>
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>

My configure on a clean build dir blows up with:

  bilge-0.2-rs| Downloading bilge-impl-0.2-rs source from 
https://crates.io/api/v1/crates/bilge-impl/0.2.0/download
  Downloading: 
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████|
 23.9k/23.9k 5.30MB/s eta 00:00
  bilge-0.2-rs| Applying diff file "bilge-impl-1.63.0.patch"
  bilge-0.2-rs| patching file src/shared/discriminant_assigner.rs
  bilge-0.2-rs| Hunk #1 FAILED at 26 (different line endings).
  bilge-0.2-rs| 1 out of 1 hunk FAILED -- saving rejects to file 
src/shared/discriminant_assigner.rs.rej
  bilge-0.2-rs| patching file src/shared/fallback.rs
  bilge-0.2-rs| Hunk #1 FAILED at 22 (different line endings).
  bilge-0.2-rs| 1 out of 1 hunk FAILED -- saving rejects to file 
src/shared/fallback.rs.rej

  ../../subprojects/bilge-0.2.0/meson.build:9:0: ERROR: Failed to apply diff 
file "bilge-impl-1.63.0.patch"

  A full log can be found at 
/home/alex/lsrc/qemu.git/builds/rust/meson-logs/meson-log.txt

  ERROR: meson setup failed

So do I have some hidden state somewhere?

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to