add variable linker flags per platform

This commit is contained in:
2025-11-30 14:59:35 -06:00
parent 42bede58bc
commit b29cdc8b93
2 changed files with 9 additions and 2 deletions

View File

@@ -1049,4 +1049,10 @@ int JS_ArrayLength(JSContext *js, JSValue a)
JS_ToInt32(js,&len,length);
JS_FreeValue(js,length);
return len;
}
int cell_random() {
uint8_t buf[4];
randombytes(buf, sizeof(buf));
return *(int32_t *)buf;
}