mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
add -preview=fieldwise to build (#6858)
add -preview=fieldwise to build Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com> Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com> Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
This commit is contained in:
parent
e9a5297836
commit
c9b415a817
3 changed files with 5 additions and 5 deletions
|
@ -135,7 +135,7 @@ endif
|
|||
|
||||
# Set DFLAGS
|
||||
DFLAGS=
|
||||
override DFLAGS+=-conf= -I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS) -w -de -preview=dip1000 -preview=dtorfields $(MODEL_FLAG) $(PIC)
|
||||
override DFLAGS+=-conf= -I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS) -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise $(MODEL_FLAG) $(PIC)
|
||||
ifeq ($(BUILD),debug)
|
||||
override DFLAGS += -g -debug
|
||||
else
|
||||
|
|
|
@ -41,13 +41,13 @@ DRUNTIMELIB=$(DRUNTIME)/lib/druntime.lib
|
|||
|
||||
## Flags for dmd D compiler
|
||||
|
||||
DFLAGS=-conf= -O -release -w -de -preview=dip1000 -preview=dtorfields -I$(DRUNTIME)\import
|
||||
DFLAGS=-conf= -O -release -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -I$(DRUNTIME)\import
|
||||
#DFLAGS=-unittest -g
|
||||
#DFLAGS=-unittest -cov -g
|
||||
|
||||
## Flags for compiling unittests
|
||||
|
||||
UDFLAGS=-unittest -version=StdUnittest -version=CoreUnittest -conf= -O -w -preview=dip1000 -I$(DRUNTIME)\import
|
||||
UDFLAGS=-unittest -version=StdUnittest -version=CoreUnittest -conf= -O -w -preview=dip1000 -preview=fieldwise -I$(DRUNTIME)\import
|
||||
|
||||
## C compiler
|
||||
|
||||
|
|
|
@ -44,13 +44,13 @@ DRUNTIMELIB=$(DRUNTIME)/lib/druntime$(MODEL).lib
|
|||
|
||||
## Flags for dmd D compiler
|
||||
|
||||
DFLAGS=-conf= -m$(MODEL) -O -release -w -de -preview=dip1000 -preview=dtorfields -I$(DRUNTIME)\import
|
||||
DFLAGS=-conf= -m$(MODEL) -O -release -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -I$(DRUNTIME)\import
|
||||
#DFLAGS=-m$(MODEL) -unittest -g
|
||||
#DFLAGS=-m$(MODEL) -unittest -cov -g
|
||||
|
||||
## Flags for compiling unittests
|
||||
|
||||
UDFLAGS=-conf= -g -m$(MODEL) -O -w -preview=dip1000 -I$(DRUNTIME)\import -unittest -version=StdUnittest -version=CoreUnittest
|
||||
UDFLAGS=-conf= -g -m$(MODEL) -O -w -preview=dip1000 -preview=fieldwise -I$(DRUNTIME)\import -unittest -version=StdUnittest -version=CoreUnittest
|
||||
|
||||
## C compiler, linker, librarian
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue