From 44938b6b641a5ee40e1441732b351ca5a1160fb6 Mon Sep 17 00:00:00 2001 From: FourteenBrush <74827262+FourteenBrush@users.noreply.github.com> Date: Wed, 22 Apr 2026 14:33:21 +0200 Subject: [PATCH] Make @(rodata) on constants yield 'not supported' message --- src/checker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/checker.cpp b/src/checker.cpp index 340b74241..f17a28211 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -4229,6 +4229,7 @@ gb_internal DECL_ATTRIBUTE_PROC(const_decl_attribute) { name == "link_name" || name == "link_prefix" || name == "link_suffix" || + name == "rodata" || false) { error(elem, "@(%.*s) is not supported for compile time constant value declarations", LIT(name)); return true;