This addresses build failures, in particular in CI, where clap doesn’t
compile instead producing error as follows:
error[E0599]: no method named `as_encoded_bytes` found for reference `&OsStr` in the current scope
Error: --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.7.0/src/ext.rs:186:26
|
186 | let bytes = self.as_encoded_bytes();
| ^^^^^^^^^^^^^^^^ method not found in `&OsStr`
This addresses build failures, in particular in CI, where clap doesn’t compile instead producing error as follows: