Skip to content

Commit

Permalink
Make profiler_builtins #![no_core] instead of just #![no_std]
Browse files Browse the repository at this point in the history
This crate doesn't contain any actual Rust code; it's just C/C++ code built and
packaged in a Rust-friendly way.
  • Loading branch information
Zalathar authored and gitbot committed Feb 20, 2025
1 parent 872a1ec commit f8bb14c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions profiler_builtins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ bench = false
doc = false

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

[build-dependencies]
cc = "1.2"
3 changes: 2 additions & 1 deletion profiler_builtins/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// tidy-alphabetical-start
#![allow(internal_features)]
#![feature(no_core)]
#![feature(profiler_runtime)]
#![feature(staged_api)]
// tidy-alphabetical-end

// Other attributes:
#![no_std]
#![no_core]
#![profiler_runtime]
#![unstable(
feature = "profiler_runtime_lib",
Expand Down

0 comments on commit f8bb14c

Please sign in to comment.