Compare commits

..

No commits in common. "fed2bcea78b18cc8c3375bcc5c0cd734eb94496a" and "a06e6ac6ba68214171e995a7cc1ffe205a070d8b" have entirely different histories.

4 changed files with 5 additions and 5 deletions

View File

@ -56,11 +56,11 @@ jobs:
- name: Setup Clang - name: Setup Clang
uses: egor-tensin/setup-clang@v1 uses: egor-tensin/setup-clang@v1
with: with:
version: 19 version: 17
platform: x64 platform: x64
- name: Run Sanitizers - name: Run Sanitizers
run: | run: |
sudo apt-get install -y libclang-rt-19-dev sudo apt-get install -y libclang-rt-17-dev
bash build_g.sh bash build_g.sh
bash run_tests.sh bash run_tests.sh
rm -rf ./main rm -rf ./main

View File

@ -4,7 +4,7 @@
typedef struct PyObject PyObject; typedef struct PyObject PyObject;
typedef struct VM VM; typedef struct VM VM;
extern PK_THREAD_LOCAL VM* pk_current_vm; extern _Thread_local VM* pk_current_vm;
typedef struct py_TValue { typedef struct py_TValue {
py_Type type; py_Type type;

View File

@ -17,7 +17,7 @@ rm -rf .coverage
mkdir .coverage mkdir .coverage
UNITS=$(find ./ -name "*.gcno") UNITS=$(find ./ -name "*.gcno")
llvm-cov-19 gcov ${UNITS} -r -s include/ -r -s src/ >> .coverage/coverage.txt llvm-cov-17 gcov ${UNITS} -r -s include/ -r -s src/ >> .coverage/coverage.txt
mv *.gcov .coverage mv *.gcov .coverage
rm *.gcda rm *.gcda

View File

@ -5,7 +5,7 @@
#include "pocketpy/common/name.h" #include "pocketpy/common/name.h"
#include "pocketpy/interpreter/vm.h" #include "pocketpy/interpreter/vm.h"
PK_THREAD_LOCAL VM* pk_current_vm; _Thread_local VM* pk_current_vm;
static bool pk_initialized; static bool pk_initialized;
static bool pk_finalized; static bool pk_finalized;