Skip to content
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

Alias traceable_allocator to std::allocator when building without GC #11550

Merged
merged 5 commits into from
Sep 20, 2024

Conversation

edolstra
Copy link
Member

Motivation

This gets rid of a bunch of #ifdefs and avoids build errors like the one mentioned in #11548 (review).

Depends on #11548.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Copy link
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much nicer

src/libexpr/value.hh Outdated Show resolved Hide resolved
src/libexpr/gc-small-vector.hh Show resolved Hide resolved
@github-actions github-actions bot added new-cli Relating to the "nix" command repl The Read Eval Print Loop, "nix repl" command and debugger c api Nix as a C library with a stable interface labels Sep 19, 2024
Copy link

dpulls bot commented Sep 19, 2024

🎉 All dependencies have been resolved !

src/libexpr/eval-gc.hh Outdated Show resolved Hide resolved
Co-authored-by: Jörg Thalheim <[email protected]>
@edolstra edolstra merged commit c5c6855 into NixOS:master Sep 20, 2024
11 checks passed
@edolstra edolstra deleted the traceable-allocator-alias branch September 20, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c api Nix as a C library with a stable interface new-cli Relating to the "nix" command repl The Read Eval Print Loop, "nix repl" command and debugger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants