std.builtin: Some minor fixes to CallingConvention doc comments.

This commit is contained in:
Alex Rønne Petersen 2024-10-28 22:47:25 +01:00
parent e27b4647d8
commit f7da31b1f4
No known key found for this signature in database

View File

@ -293,12 +293,12 @@ pub const CallingConvention = union(enum(u8)) {
arm_aapcs16_vfp: CommonOptions, arm_aapcs16_vfp: CommonOptions,
arm_interrupt: ArmInterruptOptions, arm_interrupt: ArmInterruptOptions,
// Calling conventions for the `mips64` architecture. // Calling conventions for the `mips64` and `mips64el` architectures.
mips64_n64: CommonOptions, mips64_n64: CommonOptions,
mips64_n32: CommonOptions, mips64_n32: CommonOptions,
mips64_interrupt: MipsInterruptOptions, mips64_interrupt: MipsInterruptOptions,
// Calling conventions for the `mips` architecture. // Calling conventions for the `mips` and `mipsel` architectures.
mips_o32: CommonOptions, mips_o32: CommonOptions,
mips_interrupt: MipsInterruptOptions, mips_interrupt: MipsInterruptOptions,
@ -329,7 +329,7 @@ pub const CallingConvention = union(enum(u8)) {
powerpc_aix: CommonOptions, powerpc_aix: CommonOptions,
powerpc_aix_altivec: CommonOptions, powerpc_aix_altivec: CommonOptions,
/// The standard `wasm32`/`wasm64` calling convention, as specified in the WebAssembly Tool Conventions. /// The standard `wasm32` and `wasm64` calling convention, as specified in the WebAssembly Tool Conventions.
wasm_watc: CommonOptions, wasm_watc: CommonOptions,
/// The standard `arc` calling convention. /// The standard `arc` calling convention.
@ -396,7 +396,7 @@ pub const CallingConvention = union(enum(u8)) {
amdgcn_kernel, amdgcn_kernel,
amdgcn_cs: CommonOptions, amdgcn_cs: CommonOptions,
// Calling conventions for the `nvptx` architecture. // Calling conventions for the `nvptx` and `nvptx64` architectures.
nvptx_device, nvptx_device,
nvptx_kernel, nvptx_kernel,