Is there any way to tell Rust where to look for my static library? Example code
#[link(name = \"/this/is/the/path/libfoo.a\", kind = \"static\")]
To add on to the accepted answer, what worked for me is as following:
target/debug/deps worked; but putting files under target/debug/native/* did not seem to work.Cargo seems to only look under target/debug/deps by default.
You can run with cargo build --verbose to see the verbose rustc commands and the options used. -L option specifies additional link dependency directory.