-
Notifications
You must be signed in to change notification settings - Fork 824
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
Remove goblin, use object. #2286
Conversation
Update fuzz/Cargo.toml. For wasm-smith the 'master' git branch was renamed to 'main. Switch to a versioned release since it contains the fixes we need.
lib/compiler-llvm/src/object_file.rs
Outdated
} | ||
let kind = match (reloc.kind(), reloc.size()) { | ||
(object::RelocationKind::Absolute, 64) => RelocationKind::Abs8, | ||
(object::RelocationKind::Elf(24), 0) => RelocationKind::X86PCRel8, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have here the proper static variable here instead of 24
? (I think the object
has defined most of those)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the wasmer-object
crate so it depends on object 0.24
instead of 0.23
?
52c9b1d
to
3339b76
Compare
Done. |
There's nothing wrong with 0.24 but we have a dependency on 0.23 through 'backtrace' which is used by wasmer-engine, and we'd like to only have one copy.
bors r+ |
No description provided.