mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
update PikaStdLib, and install the rust in insatll.sh
This commit is contained in:
parent
3996f188ca
commit
926f31344c
@ -20,4 +20,4 @@ float PikaStdLib_MemChecker_getMax(PikaObj* self) {
|
||||
|
||||
float PikaStdLib_MemChecker_getNow(PikaObj* self) {
|
||||
return pikaMemNow() / 1024.0;
|
||||
}
|
||||
}
|
@ -28,4 +28,4 @@ Arg* PikaStdLib_RangeObj___next__(PikaObj* self) {
|
||||
}
|
||||
args_setInt(self->list, "iter_i", iter_i + foot);
|
||||
return arg_setInt(NULL, "", iter_i);
|
||||
}
|
||||
}
|
@ -12,4 +12,4 @@ Arg* PikaStdLib_StringObj___next__(PikaObj* self) {
|
||||
iter_i = 0;
|
||||
}
|
||||
return arg_setNull(NULL);
|
||||
}
|
||||
}
|
@ -1,3 +1,7 @@
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
||||
git clone https://github.com/google/benchmark.git google_benchmark && cd google_benchmark && cmake -E make_directory "build" && cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../ && cmake --build "build" --config Release && sudo cmake --build "build" --config Release --target install
|
||||
|
||||
rm google_benchmark -rf
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user