Skip to content

Update object dependency to 0.40.0 - #14096

Open
philipc wants to merge 1 commit into
bytecodealliance:mainfrom
philipc:object
Open

Update object dependency to 0.40.0#14096
philipc wants to merge 1 commit into
bytecodealliance:mainfrom
philipc:object

Conversation

@philipc

@philipc philipc commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

I don't have a need for this; I'm just fixing things that I broke in this release.

@philipc
philipc requested review from a team as code owners August 9, 2026 02:30
@philipc
philipc requested review from alexcrichton and removed request for a team August 9, 2026 02:30
Comment thread crates/environ/src/obj.rs
/// Pulley target, for example, to indicate that it does not need to be made
/// natively executable as it does not contain actual native code.
pub const SH_WASMTIME_NOT_EXECUTED: u64 = 1 << 0;
pub const SH_WASMTIME_NOT_EXECUTED: object::elf::SectionFlags = object::elf::SectionFlags(1 << 0);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this has the same value as SHF_WRITE, so this happens to work for .text sections, but seems like it was only by chance. I'm not sure which bit would be better though (if we use an OS or PROC bit then probably the reader side would need an additional OS or machine check too).

@github-actions github-actions Bot added cranelift Issues related to the Cranelift code generator cranelift:module wasmtime:api Related to the API of the `wasmtime` crate itself labels Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:module cranelift Issues related to the Cranelift code generator wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant