Skip to content

Commit bba3567

Browse files
committed
Make profiler_builtins #![no_core] instead of just #![no_std]
This crate doesn't contain any actual Rust code; it's just C/C++ code built and packaged in a Rust-friendly way.
1 parent 5967cf1 commit bba3567

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

library/Cargo.lock

-2
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ name = "profiler_builtins"
235235
version = "0.0.0"
236236
dependencies = [
237237
"cc",
238-
"compiler_builtins",
239-
"core",
240238
]
241239

242240
[[package]]

library/profiler_builtins/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ bench = false
99
doc = false
1010

1111
[dependencies]
12-
core = { path = "../core" }
13-
compiler_builtins = { version = "0.1.0", features = ['rustc-dep-of-std'] }
1412

1513
[build-dependencies]
1614
# FIXME: Pinned due to build error when bumped (#132556)

library/profiler_builtins/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3+
#![feature(no_core)]
34
#![feature(profiler_runtime)]
45
#![feature(staged_api)]
56
// tidy-alphabetical-end
67

78
// Other attributes:
8-
#![no_std]
9+
#![no_core]
910
#![profiler_runtime]
1011
#![unstable(
1112
feature = "profiler_runtime_lib",

0 commit comments

Comments
 (0)