mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
use a semi-optimized build during development
stock dev mode is too slow, but release mode is about 3x slower than this middle ground
This commit is contained in:
parent
301c9587d1
commit
efc8e4fb28
2 changed files with 6 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ SUBMAKE := $(MAKE) --print-directory
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
BUILDFLAGS := --release --strip
|
BUILDFLAGS := --release --strip
|
||||||
DEVFLAGS := $(BUILDFLAGS)
|
DEVFLAGS :=
|
||||||
RUNFLAGS :=
|
RUNFLAGS :=
|
||||||
CHECKABLE_PY := pylib qt
|
CHECKABLE_PY := pylib qt
|
||||||
CHECKABLE_RS := rslib rspy
|
CHECKABLE_RS := rslib rspy
|
||||||
|
|
|
@ -17,3 +17,8 @@ features = ["extension-module"]
|
||||||
[lib]
|
[lib]
|
||||||
name = "ankirspy"
|
name = "ankirspy"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 2
|
||||||
|
debug = 0
|
||||||
|
codegen-units = 256
|
||||||
|
|
Loading…
Reference in a new issue