Skip to content

Commit 657db5f

Browse files
Zalathargitbot
authored and
gitbot
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 37e837d commit 657db5f

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Cargo.lock

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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
cc = "1.2"

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)