flatcar-scripts/sdk_container
Dongsu Park 6314760a57 dev-lang/rust: fix build issue with Rust 1.61.0
Fix build issues with Rust 1.61.0 when applying
gentoo-musl-target-specs.patch.

```
error[E0308]: mismatched types
 -->
 compiler/rustc_target/src/spec/aarch64_gentoo_linux_musl.rs:6:24
  |
6 |     base.llvm_target =
   "aarch64-gentoo-linux-musl".to_string();
  |     ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  expected enum `Cow`, found struct `std::string::String`
  |     |
  |     expected due to the type of this binding
  |
  = note: expected enum `Cow<'static, str>`
           found struct `std::string::String`
```

Replace `to_string` with `into`.

Based on Gentoo commit 445f23597c942b087145b869ac588fc1c1eac759.
2022-05-25 09:40:19 +02:00
..
src/third_party/coreos-overlay dev-lang/rust: fix build issue with Rust 1.61.0 2022-05-25 09:40:19 +02:00