Rephrase CPU-related "platform"/"host" to "target"/"your machine"

This commit is contained in:
Jan Van Bruggen 2022-09-06 14:56:05 -06:00
parent 5717f698d8
commit 4625a0a869
No known key found for this signature in database
GPG key ID: FE2A4E38E0FA6134
8 changed files with 14 additions and 14 deletions

View file

@ -3964,7 +3964,7 @@ fn expose_function_to_host_help_c_abi<'a, 'ctx, 'env>(
}
pub fn get_sjlj_buffer<'a, 'ctx, 'env>(env: &Env<'a, 'ctx, 'env>) -> PointerValue<'ctx> {
// The size of jump_buf is platform-dependent.
// The size of jump_buf is target-dependent.
// - AArch64 needs 3 machine-sized words
// - LLVM says the following about the SJLJ intrinsic:
//
@ -5895,7 +5895,7 @@ fn run_low_level<'a, 'ctx, 'env>(
bitcode::STR_GET_SCALAR_UNSAFE,
);
// on 32-bit platforms, zig bitpacks the struct
// on 32-bit targets, zig bitpacks the struct
match env.target_info.ptr_width() {
PtrWidth::Bytes8 => result,
PtrWidth::Bytes4 => {