Stream: git-wasmtime

Topic: wasmtime / PR #12028 Get finalized function with size in ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 01:53):

anqur opened PR #12028 from anqur:main to bytecodealliance:main:

When emitting the ELF object with related DWARF debuginfo for an in-memory generated code, one typically needs to set the size of the .text section, this API is for such advanced usage.

See some related discussions in this Zulip chat.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 01:53):

anqur requested alexcrichton for a review on PR #12028.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 01:53):

anqur requested wasmtime-compiler-reviewers for a review on PR #12028.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 01:55):

anqur edited PR #12028:

When emitting the ELF object with related DWARF debuginfo for an in-memory generated code, one typically needs to set the size of the .text section, this API is for such advanced usage.

See some related discussions in this Zulip chat.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 01:57):

anqur updated PR #12028.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 11:37):

bjorn3 commented on PR #12028:

You can also use context.compiled_code().unwrap().buffer.total_size() after calling module.define_function(func_id, &mut context).

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 11:38):

bjorn3 edited a comment on PR #12028:

You can also use context.compiled_code().unwrap().buffer.data().len() after calling module.define_function(func_id, &mut context).

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 17:28):

anqur closed without merge PR #12028.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2025 at 17:28):

anqur commented on PR #12028:

@bjorn3 That's some absolute stunning and pure fire, thanks so much for this deep dive!


Last updated: Dec 06 2025 at 07:03 UTC