Commit 92b2b8e 1 parent bb6ebf6 commit 92b2b8e Copy full SHA for 92b2b8e
File tree 10 files changed +17
-12
lines changed
10 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,21 @@ endif
193
193
build :
194
194
PROXY_ENABLE_FEATURES=" ${ENABLE_FEATURES} " ./proxy_scripts/build.sh
195
195
196
+ # Do not call make build which could duplicate ENABLE_FEATURES
197
+ ifeq ($(PROXY_FRAME_POINTER ) ,1)
198
+ debug : ENABLE_FEATURES += pprof-fp
199
+ endif
196
200
debug : export PROXY_PROFILE=debug
197
201
debug :
198
- make build
202
+ PROXY_ENABLE_FEATURES=" ${ENABLE_FEATURES} " ./proxy_scripts/build.sh
203
+
199
204
205
+ ifeq ($(PROXY_FRAME_POINTER ) ,1)
206
+ release : ENABLE_FEATURES += pprof-fp
207
+ endif
200
208
release : export PROXY_PROFILE=release
201
209
release :
202
- make build
210
+ PROXY_ENABLE_FEATURES= " ${ENABLE_FEATURES} " ./proxy_scripts/ build.sh
203
211
204
212
# # Testing
205
213
# # -------
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "engine_store_ffi"
3
3
version = " 0.0.1"
4
4
authors = [" The TiKV Authors" ]
5
5
license = " Apache-2.0"
6
- edition = " 2018 "
6
+ edition = " 2021 "
7
7
publish = false
8
8
9
9
[features ]
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " engine_tiflash"
3
3
version = " 0.0.1"
4
- edition = " 2018 "
4
+ edition = " 2021 "
5
5
publish = false
6
6
7
7
[features ]
Original file line number Diff line number Diff line change 2
2
name = " mock-engine-store"
3
3
version = " 0.0.1"
4
4
license = " Apache-2.0"
5
- edition = " 2018 "
5
+ edition = " 2021 "
6
6
publish = false
7
7
8
8
[lib ]
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ extern "C" {
20
20
) -> :: std:: os:: raw:: c_int ;
21
21
}
22
22
23
- extern crate libc;
24
-
25
23
#[ allow( unused_variables) ]
26
24
#[ allow( unused_mut) ]
27
25
#[ allow( unused_unsafe) ]
Original file line number Diff line number Diff line change 1
1
// Copyright 2022 TiKV Project Authors. Licensed under Apache-2.0.
2
- #![ feature( rustc_private) ]
3
2
#![ feature( thread_id_value) ]
4
3
5
4
/// All mods end up with `_impls` impl structs defined in interface.
Original file line number Diff line number Diff line change 2
2
name = " proxy_server"
3
3
version = " 0.0.1"
4
4
license = " Apache-2.0"
5
- edition = " 2018 "
5
+ edition = " 2021 "
6
6
publish = false
7
7
8
8
[features ]
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " proxy_tests"
3
3
version = " 0.0.1"
4
- edition = " 2018 "
4
+ edition = " 2021 "
5
5
publish = false
6
6
7
7
[[test ]]
Original file line number Diff line number Diff line change 2
2
name = " raftstore-proxy-main"
3
3
version = " 0.0.1"
4
4
license = " Apache-2.0"
5
- edition = " 2018 "
5
+ edition = " 2021 "
6
6
publish = false
7
7
8
8
[features ]
Original file line number Diff line number Diff line change 2
2
name = " raftstore-proxy"
3
3
version = " 0.0.1"
4
4
license = " Apache-2.0"
5
- edition = " 2018 "
5
+ edition = " 2021 "
6
6
publish = false
7
7
8
8
[features ]
You can’t perform that action at this time.
0 commit comments