tyan-boot / fido-rs

Safe bindings to libfido2
0 stars 4 forks source link

Compiling libfido2-sys v0.2.0 failed #2

Open jviki opened 8 months ago

jviki commented 8 months ago

After adding fido-rs (fido2-rs = "0.1.0") into my Rust project, it fails to build:

   Compiling libfido2-sys v0.2.0
error[E0425]: cannot find value `out_dir` in this scope
   --> $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libfido2-sys-0.2.0/build.rs:179:20
    |
179 |         tar.unpack(out_dir.join("libfido2"))?;
    |                    ^^^^^^^ not found in this scope

error[E0425]: cannot find value `archive` in this scope
   --> $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libfido2-sys-0.2.0/build.rs:217:18
    |
217 |     extract_tar(&archive, out_dir.join("libfido2"))?;
    |                  ^^^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.

However, it seems to be already fixed in b6201f2a5c4cba1d6aaeed37380a5cb0d58da889. There is probably missing a new release...

tyan-boot commented 4 weeks ago

i will publish a new release

tyan-boot commented 4 weeks ago

a new release has been published, could you please have a try?