mirror of
https://github.com/openai/codex.git
synced 2026-11-01 19:33:35 +00:00
build: remove MSVC from Windows Bazel build actions
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#if !defined(_WIN32)
|
||||
#error "this probe must be compiled for Windows"
|
||||
#endif
|
||||
|
||||
__attribute__((noinline)) static int protected_value(int value) {
|
||||
volatile char buffer[32] = {0};
|
||||
buffer[0] = (char)value;
|
||||
return buffer[0];
|
||||
}
|
||||
|
||||
int main(void) { return protected_value(7) == 7 ? 0 : 1; }
|
||||
Reference in New Issue
Block a user