Daniel Paoliello

Results 22 issues of Daniel Paoliello

Issue Details: Since VS 2017, MSVC has shipped a set of "spectre-mitigated" CRT static libs: https://devblogs.microsoft.com/cppblog/spectre-mitigations-in-msvc/ Typically these are used by opening a VS Command Prompt in "spectre mode" (https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170#vcvarsall-syntax)...

O-windows

# Proposal (This is another attempt at #495) Add a new parameter, `import_name_type`, to the `#[link]` attribute to be used with `#[link(kind = "raw-dylib")]` when importing functions on i686-pc-windows-* targets....

T-compiler
major-change

The `link_ordinal` attribute only has an affect if the `raw-dylib` link kind is used, so add an error if it is used with any other link kind.

T-compiler
S-waiting-on-review

* Documents the `raw-dylib` link kind (https://github.com/rust-lang/rust/issues/58713), including how it differs from `dylib`. * Documents the `link_ordinal` attribute (https://github.com/rust-lang/rust/pull/89025).

S-waiting-on-stabilization

`Vec` has many methods that may allocate memory (to expand the underlying storage, or shrink it down). Currently each of these method rely on "infallible" allocation, that is any failure...

T-libs-api

Fixes #102714 Issue Details: When generating the import library for `raw-dylib` symbols, we currently only use the functions and variables declared within the current crate. This works fine if all...

T-compiler
S-waiting-on-review

* Building for [ARM64EC](https://learn.microsoft.com/en-us/windows/arm/arm64ec) requires passing the `-arm64EC` flag to cl.exe and `/machine:arm64ec` to lib.exe: * Updated tool discovery to handle `arm64ec` as a target arch by using the `aarch64`...

# Proposal Address Sanitizer (aka ASAN) requires a "runtime library" to provide various functions used to inspect memory accesses. The code for this library is in LLVM, and Rust provides...

T-compiler
final-comment-period
major-change

In `Types::collect()`, the cxx crate checks for duplicate definitions of Rust identifiers. This works for the proc macro (which is run per `mod`) but causes issues for the build script...

A single Rust type may map to multiple C++ types - an example of this is the various Win32 type aliases that exist for primitive types (e.g., `DWORD`, `LONG`). Currently...