Skip to content

Remove makeMalloc utility function. NFC #19160

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 12, 2023
Merged

Remove makeMalloc utility function. NFC #19160

merged 1 commit into from
Apr 12, 2023

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 11, 2023

It seems much safer/cleaner to simply use explicit dependencies on malloc. The one function where an optional dependency might be useful is allocate since it can operator both with and without malloc, but that function is deprecated/legacy.

See #19159

@sbc100 sbc100 requested a review from kripken April 11, 2023 22:45
@sbc100 sbc100 force-pushed the remove_makeMalloc branch from 3485869 to 02214c8 Compare April 11, 2023 22:46
@sbc100 sbc100 enabled auto-merge (squash) April 11, 2023 22:49
@sbc100 sbc100 force-pushed the remove_makeMalloc branch 2 times, most recently from 25dfdc7 to a9a1d04 Compare April 11, 2023 23:24
It seems much safer/cleaner to simply use explicit dependencies on
`malloc`.  The one function where an optional dependency might be
useful is `allocate` since it can operator both with and without
`malloc`, but that function is deprecated/legacy.

See #19159
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.

2 participants