Skip to content

servo_arc: make track_alloc_size feature a default feature #174

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

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

nicoburns
Copy link
Collaborator

Objective

Fixes #129 for users that have default features enabled (and it will be the only default feature so there's no reason not to have default features enabled).

Changes made

  • Made track_alloc_size feature a default feature
  • Bumped version of servo_arc to 0.4.1

Alternatives

Arguably ought to be the behaviour with no features enabled, and there ought to be a dont_track_alloc_size feature that disables the tracking for Gecko (I believe the combination of having this disabled and using an allocator that requires accurate tracking is actually UB), but this is the simpler change that will likely fix the problem for almost everyone in practice.

@nicoburns nicoburns added this pull request to the merge queue Apr 22, 2025
Merged via the queue into servo:main with commit 03ffc85 Apr 22, 2025
3 checks passed
@nicoburns nicoburns deleted the servo-arc-default-track branch April 22, 2025 18:25
@nicoburns
Copy link
Collaborator Author

@jdm Can we get a servo_arc release for this?

Loirooriol added a commit to Loirooriol/servo that referenced this pull request Apr 29, 2025
servo/stylo@0eaeea3...03ffc85

- servo/stylo#173
  Use web_atoms crate
- servo/stylo#174
  servo_arc: make track_alloc_size feature a default feature

Signed-off-by: Oriol Brufau <[email protected]>
github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Apr 29, 2025
servo/stylo@0eaeea3...03ffc85

- servo/stylo#173
  Use web_atoms crate
- servo/stylo#174
  servo_arc: make track_alloc_size feature a default feature

Testing: unneeded, no behavior change

Signed-off-by: Oriol Brufau <[email protected]>
@gb-jos
Copy link

gb-jos commented Jun 10, 2025

@jdm bumped into this issue from lol-html, would love to see servo_arc 0.4.1 released as well

@jdm
Copy link
Member

jdm commented Jun 10, 2025

Sorry about that, I missed #174 (comment) when Nico first asked. Published!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

servo_arc: bad drop in WASM target
3 participants