Skip to content

Commit

Permalink
Remove useless unstable attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Jul 17, 2024
1 parent d3bb087 commit bcc9c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion compiler/rustc_codegen_llvm/src/va_arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,9 @@ fn emit_xtensa_va_arg<'ll, 'tcx>(
// int32_t va_ndx; // Offset into the arguments, in bytes
// };
//
// Whether an argument is loaded from va_stk or va_reg depends on the value of va_ndx.
// The first 24 bytes (equivalent to 6 registers) come from va_reg, the rest from va_stk.
// Thus if va_ndx is less than 24, the next va_arg *may* read from va_reg,
// otherwise it must come from va_stk.
//
// Arguments are never split between registers and the stack. For example, if loading an 8 byte
// value and va_ndx = 20, we instead bump the offset and read everything from va_stk.
Expand Down
6 changes: 0 additions & 6 deletions library/core/src/ffi/va_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ pub struct VaListImpl<'f> {
#[cfg(target_arch = "xtensa")]
#[repr(C)]
#[derive(Debug)]
#[unstable(
feature = "c_variadic",
reason = "the `c_variadic` feature has not been properly tested on \
all supported platforms",
issue = "44930"
)]
#[lang = "va_list"]
pub struct VaListImpl<'f> {
stk: *mut i32,
Expand Down

0 comments on commit bcc9c0e

Please sign in to comment.