# heap: create a work-around page-allocator · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ba58b7b88143f93f671a53a4809c9724de898b8d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ba58b7b88143f93f671a53a4809c9724de898b8d

Requested commit: ba58b7b88143f93f671a53a4809c9724de898b8d

Commit: ba58b7b88143f93f671a53a4809c9724de898b8d

Tree: 1c9e923abd948a471b60f34f948413942a325a29

Author: David Rubin

Committer: David Rubin

## Message

```
heap: create a work-around page-allocator

the risc-v backend doesn't have `@cmpxchg*` implemented and so it can't use the hint that the current page-allocator uses.
this work-around branch can be removed when I implement the atomic built-in.

```

## Parents

- [d3f75522d7e18188748558c2ae20928b83d173bf](https://git.cafe/gitcafe/zig/commit/d3f75522d7e18188748558c2ae20928b83d173bf?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ba58b7b88143f93f671a53a4809c9724de898b8d?format=markdown)
