Skip to content

Commit

Permalink
Add error if RED_ZONE_SIZE doesn't get defined
Browse files Browse the repository at this point in the history
  • Loading branch information
James Miller committed May 2, 2013
1 parent d3e7c74 commit 1bd3184
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rt/rust_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@
#define RED_ZONE_SIZE RZ_MAC_32
#endif

#ifndef RED_ZONE_SIZE
# error "Red zone not defined for this platform"
#endif

struct frame_glue_fns {
uintptr_t mark_glue_off;
uintptr_t drop_glue_off;
Expand Down

0 comments on commit 1bd3184

Please sign in to comment.