From 2d214136ce4da767d926bc18ff53478181bc729b Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Mon, 12 Jun 2023 20:32:50 +0100 Subject: CODE_STYLE: Explicitly ban strings for non-text Apparently this needs stating and isn't obvious. Signed-off-by: Jessica Clarke --- CODE_STYLE.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CODE_STYLE.md') diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 48df5ad..9483b01 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -81,6 +81,8 @@ Implementation * Prefer `bool` over `bits(1)` when a value logically represents true or false rather than being a single bit with a numeric meaning, and vice-versa +* Do not use strings for anything that is not text + * No new compile-time warnings from the Sail compiler should be introduced (this does not include C or OCaml warnings for the code generated by the Sail compiler) -- cgit v1.1