Skip to content

clarify/heap alloc#58

Merged
Fiwo735 merged 2 commits intomainfrom
clarify/heap_alloc
Mar 20, 2026
Merged

clarify/heap alloc#58
Fiwo735 merged 2 commits intomainfrom
clarify/heap_alloc

Conversation

@lemon-gith
Copy link
Collaborator

@lemon-gith lemon-gith commented Mar 12, 2026

just adding a line to explicitly clarify that we are not testing heap allocation, since I got 2 questions on it.

Closes #56

@lemon-gith lemon-gith self-assigned this Mar 12, 2026
@Fiwo735
Copy link
Collaborator

Fiwo735 commented Mar 12, 2026

LGTM, small rewording suggested to fit better with other listed features

* the `void` type is not tested explicitly, but it appears in some helper functions in the test cases, so your compiler cannot break when it encounters this keyword
* the `static` keyword
* standard library support (e.g. `printf(...)` from `<stdio.h>` header)
* heap-allocation: follows from "stdlib support", system call functions (typically used in heap-memory allocation) will also not be tested
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
* heap-allocation: follows from "stdlib support", system call functions (typically used in heap-memory allocation) will also not be tested
* heap-allocation: follows from "standard library support", system call functions (typically used in heap-memory allocation) will also not be tested

@Fiwo735
Copy link
Collaborator

Fiwo735 commented Mar 20, 2026

To speed things up, I've pushed the version which we seem to agree on:

heap-allocation: follows from "standard library support", any system call functions typically used in heap-memory allocation/deallocation like malloc, calloc, realloc, free

@Fiwo735 Fiwo735 merged commit 38d8dc7 into main Mar 20, 2026
2 checks passed
@Fiwo735 Fiwo735 deleted the clarify/heap_alloc branch March 20, 2026 00:17
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.

clarify heap allocation in features

3 participants