From 8f99689ba3a06883df3d3f61a670deebdc4e5598 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 6 Aug 2020 16:01:45 +0900 Subject: Remove `mrb_static_assert` from the core; #5051 --- src/string.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index 78c41c5f3..e8f81c0ae 100644 --- a/src/string.c +++ b/src/string.c @@ -2926,9 +2926,6 @@ mrb_init_string(mrb_state *mrb) { struct RClass *s; - mrb_static_assert(RSTRING_EMBED_LEN_MAX < (1 << MRB_STR_EMBED_LEN_BIT), - "pointer size too big for embedded string"); - mrb->string_class = s = mrb_define_class(mrb, "String", mrb->object_class); /* 15.2.10 */ MRB_SET_INSTANCE_TT(s, MRB_TT_STRING); -- cgit v1.2.3