You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use this crate for my rust library, I've added apply_attr dependency in my Cargo.toml but when i try to compile my library I recive this error:
$cargo build
Compiling compiletest_rs v0.2.10
error[E0462]: found staticlib `rustc` instead of rlib or dylib
--> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.2.10/src/lib.rs:19:1
|
19 | extern crate rustc;
| ^^^^^^^^^^^^^^^^^^^
|
= help: please recompile that crate using --crate-type lib
...
Is this a library bug or did I have something wrong inluding appy_attr dependency?
The text was updated successfully, but these errors were encountered:
Hi @uccidibuti unfortunately the apply_attr crate depends on the syntax, which was the status-quo 3 years ago, yet has since been deprecated in favor of rustc_ast to which it would need to be migrated, to make it work with current versions of Rust.
I want to use this crate for my rust library, I've added apply_attr dependency in my Cargo.toml but when i try to compile my library I recive this error:
Is this a library bug or did I have something wrong inluding appy_attr dependency?
The text was updated successfully, but these errors were encountered: