-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Issues: rust-lang/rust
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Add a run-make test that checks our Area: Foreign function interface (FFI)
A-testsuite
Area: The testsuite used to check the correctness of rustc
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
E-needs-design
This issue needs exploration and design to see how and if we can fix/implement it
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
core::ffi::c_*
types against Clang
A-FFI
#133058
opened Nov 15, 2024 by
tgross35
ABI mismatch between rustc and clang for passing ZSTs using the win64 ABI.
A-ABI
Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
C-bug
Category: This is a bug.
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#132893
opened Nov 11, 2024 by
programmerjake
Incorrect warning about pointer to non_exhaustive ffi struct not being ffi safe
A-FFI
Area: Foreign function interface (FFI)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-false-positive
Lint: False positive (should not have fired).
L-improper_ctypes
Lint: improper_ctypes
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#132699
opened Nov 6, 2024 by
maia-s
Several platforms still have incorrectly aligned Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
llvm-fixed-upstream
Issue expected to be fixed by the next major LLVM upgrade, or backported fixes
O-MIPS
Target: MIPS processors
O-PowerPC
Target: PowerPC processors
O-SPARC
Target: SPARC processors
S-waiting-on-LLVM
Status: the compiler-dragon is eepy, can someone get it some tea?
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
u128
/i128
A-ABI
#128950
opened Aug 11, 2024 by
beetrees
Delegation incorrectly assumes Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
C-bug
Category: This is a bug.
F-c_variadic
`#![feature(c_variadic)]`
F-fn_delegation
`#![feature(fn_delegation)]`
requires-incomplete-features
This issue requires the use of incomplete features.
VaListImpl<'_>
from ...
will correctly pass-through to ...
A-ABI
#127443
opened Jul 7, 2024 by
workingjubilee
repr(C) on an enum accepts discriminants that do not fit into the default C enum size
A-enum
🤓 akshually it's an "ADT" or "algebraic data type"
A-FFI
Area: Foreign function interface (FFI)
A-repr
Area: the `#[repr(stuff)]` attribute
O-windows
Operating system: Windows
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
#124403
opened Apr 26, 2024 by
RalfJung
improper_ctypes
is many clippy lints in 1~2 rustc lints
A-clippy
#116963
opened Oct 19, 2023 by
workingjubilee
improper_ctypes
fails to trigger on invalid repr(transparent)
types
A-FFI
#116959
opened Oct 19, 2023 by
workingjubilee
StackOverflow error when assert fails or panic when compiling to Android
A-cross
Area: Cross compilation
A-FFI
Area: Foreign function interface (FFI)
A-panic
Area: Panicking machinery
C-bug
Category: This is a bug.
O-android
Operating system: Android
O-unix
Operating system: Unix-like
O-x86_64
Target: x86-64 processors (like x86_64-*)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#116309
opened Oct 1, 2023 by
matan-h
The sparc64, riscv64, loongarch64 Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
O-loongarch
Target: LoongArch (LA32R, LA32S, LA64)
O-riscv
Target: RISC-V architecture
O-SPARC
Target: SPARC processors
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
extern "C" fn
ABIs are all wrong when aligned/packed structs are involved
A-ABI
#115609
opened Sep 6, 2023 by
RalfJung
extern "C" fn
on mips64 targets does not respect repr(transparent)
A-ABI
#115404
opened Aug 31, 2023 by
RalfJung
extern "C" fn
on sparc64 targets does not respect repr(transparent)
A-ABI
#115336
opened Aug 29, 2023 by
RalfJung
extern "C"
functions returning ZSTs
A-ABI
#115091
opened Aug 22, 2023 by
ChayimFriedman2
MSVC on x86-32 Windows fails to align variables to their required alignment
A-ABI
Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
C-bug
Category: This is a bug.
disposition-close
This PR / issue is in PFCP or FCP with a disposition to close it.
finished-final-comment-period
The final comment period is finished for this PR / Issue.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
regression-untriaged
Untriaged performance or correctness regression.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#112480
opened Jun 10, 2023 by
glandium
C/C++ code linked to Rust code can't use some clang builtins
A-FFI
Area: Foreign function interface (FFI)
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
O-android
Operating system: Android
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#109717
opened Mar 29, 2023 by
glandium
repr(C)
enums with a variant that overflows the native enum type should warn
A-diagnostics
#108069
opened Feb 15, 2023 by
ChrisDenton
An enum with one variant that directly contains PhantomData should be FFI-safe.
A-FFI
Area: Foreign function interface (FFI)
C-bug
Category: This is a bug.
#107854
opened Feb 9, 2023 by
shepmaster
Multiple incompatible clashing extern fn's should be a hard error (potentially phased in via future-incompat)
A-FFI
Area: Foreign function interface (FFI)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
C-future-incompatibility
Category: Future-incompatibility lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#105146
opened Dec 1, 2022 by
pnkfelix
Linking static library that contains undefined references
A-FFI
Area: Foreign function interface (FFI)
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#103973
opened Nov 4, 2022 by
bewee-i
extern "C" functions don't generate the same IR definitions as clang on x86, causing problems with cross-language LTO
A-ABI
Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
O-x86_32
Target: x86 processors, 32 bit (like i686-*)
P-high
High priority
regression-untriaged
Untriaged performance or correctness regression.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-llvm
Working group: LLVM backend code generation
#102174
opened Sep 23, 2022 by
glandium
Re-export symbols recursion occurs
A-FFI
Area: Foreign function interface (FFI)
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#96855
opened May 9, 2022 by
aadog
Is Area: Concerning the application binary interface (ABI)
A-FFI
Area: Foreign function interface (FFI)
bool
FFI-safe?
A-ABI
#95184
opened Mar 21, 2022 by
mcy
No warning for violating AAPCS64
A-FFI
Area: Foreign function interface (FFI)
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
O-AArch64
Armv8-A or later processors in AArch64 mode
#89003
opened Sep 16, 2021 by
workingjubilee
Previous Next
ProTip!
Mix and match filters to narrow down what you’re looking for.