Stream: git-cranelift

Topic: cranelift / Issue #758 [simplejit] Alignment constraints ...


view this post on Zulip GitHub (Feb 28 2020 at 23:25):

alexcrichton transferred Issue #758:

Follow-up of https://github.com/CraneStation/cranelift/pull/721:

const EXECUTABLE_DATA_ALIGNMENT: u8 = 0x10;
const WRITABLE_DATA_ALIGNMENT: u8 = 0x8;

These two numbers appear somewhat magical. Why 0x10 and 0x8? If these are meant to be target-specific, we should have TargetMachine provide them.

(Note: they might even be compiler- or OS- dependent.)


Last updated: Dec 23 2024 at 13:07 UTC