Bug 2493964

Summary: Review Request: rust-assert_no_alloc - Custom Rust allocator allowing to temporarily disable memory
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---Flags: decathorpe: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-30 19:19:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2329382    
Attachments:
Description Flags
Configuration file for rust2rpm none

Description Ben Beasley 2026-06-28 08:00:17 UTC
Created attachment 2146935 [details]
Configuration file for rust2rpm

Spec URL: https://music.fedorapeople.org/rust-assert_no_alloc.spec
SRPM URL: https://music.fedorapeople.org/rust-assert_no_alloc-1.1.2-1.fc45.src.rpm

Description:

Custom Rust allocator allowing to temporarily disable memory
(de)allocations for a thread. Aborts or prints a warning if allocating
although forbidden.

Fedora Account System Username: music

This is a new test dependency for ureq v3, which is needed for cargo-deny v0.19.

Comment 2 Fabio Valentini 2026-06-29 14:34:51 UTC
Package was generated with rust2rpm, simplifying the review.

The package is 100% boilerplate except for disabled tests, which is reasonable and documented.

And no, rpmlint, "allocator" is not a typo.

The license text matches the SPDX reference for BSD-1-Clause, even if askalono doesn't give it a particularly high matching score.

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
🫤 test suite is run and all unit tests pass:
   tests are disabled with reasonable justification
✅ latest version of the crate is packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ license file is included with %license in %files
✅ package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter (*NOT* pre-release filter): alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- set bugzilla assignee overrides to @rust-sig (optional)

Comment 3 Ben Beasley 2026-06-30 06:22:58 UTC
Thank you for the review!

https://release-monitoring.org/project/390929/

Comment 4 Fedora Admin user for bugzilla script actions 2026-06-30 06:24:53 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-assert_no_alloc
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 5 Fedora Update System 2026-06-30 09:07:36 UTC
FEDORA-2026-ac5b566dd9 (rust-assert_no_alloc-1.1.2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ac5b566dd9

Comment 6 Fedora Update System 2026-06-30 19:19:20 UTC
FEDORA-2026-ac5b566dd9 (rust-assert_no_alloc-1.1.2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.