aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes2
-rw-r--r--crates/ra_prof/Cargo.toml38
2 files changed, 20 insertions, 20 deletions
diff --git a/.gitattributes b/.gitattributes
index 183e9b521..e749e1dc9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,2 @@
1* text=auto eol=lf
1crates/ra_syntax/test_data/** -text eof=LF 2crates/ra_syntax/test_data/** -text eof=LF
2crates/ra_ide_api/src/snapshots/** -text eof=LF
diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml
index bb241258c..751bcdeb8 100644
--- a/crates/ra_prof/Cargo.toml
+++ b/crates/ra_prof/Cargo.toml
@@ -1,19 +1,19 @@
1[package] 1[package]
2edition = "2018" 2edition = "2018"
3name = "ra_prof" 3name = "ra_prof"
4version = "0.1.0" 4version = "0.1.0"
5authors = ["rust-analyzer developers"] 5authors = ["rust-analyzer developers"]
6publish = false 6publish = false
7 7
8[dependencies] 8[dependencies]
9once_cell = "1.0.1" 9once_cell = "1.0.1"
10itertools = "0.8.0" 10itertools = "0.8.0"
11backtrace = "0.3.28" 11backtrace = "0.3.28"
12 12
13[target.'cfg(not(target_env = "msvc"))'.dependencies] 13[target.'cfg(not(target_env = "msvc"))'.dependencies]
14jemallocator = { version = "0.3.2", optional = true } 14jemallocator = { version = "0.3.2", optional = true }
15jemalloc-ctl = { version = "0.3.2", optional = true } 15jemalloc-ctl = { version = "0.3.2", optional = true }
16 16
17[features] 17[features]
18jemalloc = [ "jemallocator", "jemalloc-ctl" ] 18jemalloc = [ "jemallocator", "jemalloc-ctl" ]
19cpu_profiler = [] 19cpu_profiler = []