Skip to content

Add Android-specific assert handling in __cccl/assert.h#7156

Merged
wmaxey merged 1 commit intoNVIDIA:mainfrom
fbusato:fix-__assert_fail-android
Jan 9, 2026
Merged

Add Android-specific assert handling in __cccl/assert.h#7156
wmaxey merged 1 commit intoNVIDIA:mainfrom
fbusato:fix-__assert_fail-android

Conversation

@fbusato
Copy link
Contributor

@fbusato fbusato commented Jan 9, 2026

Description

Replaced __assert_fail with __assert2 for Android Bionic libc implementation https://android.googlesource.com/platform/bionic/+/main/libc/include/assert.h

Updated _CCCL_ASSERT_IMPL_HOST and _CCCL_ASSERT_IMPL_DEVICE macros for Android to utilize __assert2 for assertion failures.

@fbusato fbusato self-assigned this Jan 9, 2026
@fbusato fbusato requested a review from a team as a code owner January 9, 2026 21:07
@fbusato fbusato requested a review from wmaxey January 9, 2026 21:07
@fbusato fbusato added the 3.2.0 label Jan 9, 2026
@fbusato fbusato added this to CCCL Jan 9, 2026
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 9, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 9, 2026
@wmaxey wmaxey merged commit 5360bf2 into NVIDIA:main Jan 9, 2026
96 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Successfully created backport PR for branch/3.2.x:

@github-actions
Copy link
Contributor

🥳 CI Workflow Results

🟩 Finished in 3h 40m: Pass: 100%/84 | Total: 2d 03h | Max: 3h 40m | Hits: 79%/198681

See results here.

wmaxey pushed a commit that referenced this pull request Jan 10, 2026
)

(cherry picked from commit 5360bf2)

Co-authored-by: Federico Busato <50413820+fbusato@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants