-
Notifications
You must be signed in to change notification settings - Fork 80
Does not compile as dependency due to fs error #94
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
Comments
Looks like this is fixed but not released to crates.io. |
same issue here, also have a problem in rust 1.75.0 build with deps
context here: [{
"resource": "~/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/hf-hub-0.4.1/src/api/tokio.rs",
"owner": "rustc",
"code": {
"value": "Click for full compiler diagnostic",
"target": {
"$mid": 1,
"path": "/diagnostic message [0]",
"scheme": "rust-analyzer-diagnostics-view",
"query": "0",
"fragment": "file:///~/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/hf-hub-0.4.1/src/api/tokio.rs"
}
},
"severity": 8,
"message": "cannot find function `size_of` in this scope\nnot found in this scope",
"source": "rustc",
"startLineNumber": 565,
"startColumn": 32,
"endLineNumber": 565,
"endColumn": 39,
"relatedInformation": [
{
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1,
"message": "consider importing one of these items: `use core::mem::size_of;\n`, `use std::mem::size_of;\n`",
"resource": "~/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/hf-hub-0.4.1/src/api/tokio.rs"
}
]
}] |
New patch release was made. Did it fix rust <1.75 ? |
@Narsil patch fixes my original issue so I'm closing this. Looks like the patch is missing from github releases though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's my log
Here's my
cargo.toml
The text was updated successfully, but these errors were encountered: