Skip to content

LIEF Rust bindings need network access #2563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
romainthomas opened this issue Jul 21, 2024 · 2 comments
Closed

LIEF Rust bindings need network access #2563

romainthomas opened this issue Jul 21, 2024 · 2 comments

Comments

@romainthomas
Copy link

Crate name

lief

Build failure link

https://docs.rs/crate/lief/0.15.0/builds/1298479

Requested RAM limit

No response

Requested timeout

No response

Requested number of targets

No response

Why your crate needs the resource increases

As described here: https://lief.re/doc/latest/api/rust/index.html LIEF's rust bindings need network access (or setting LIEF_RUST_PRECOMPILED) to compile.

While trying to generate the documentation for the LIEF crate: https://crates.io/crates/lief,
I got this network denied issue.

@syphar
Copy link
Member

syphar commented Jul 21, 2024

Sorry, network access won't be allowed for any crate, see https://docs.rs/about/builds#hitting-resource-limits.

Your best options are probably either vendoring or conditional compilation.

@syphar syphar closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2024
@romainthomas
Copy link
Author

Ok thanks you the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants