aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
blob: d33ca61cd47855f85aa96f78fb6df76fed303473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
authors = ["Jorge Aparicio <jorge@japaric.io>"]
categories = ["no-std"]
description = "libm in pure Rust"
documentation = "https://docs.rs/libm"
keywords = ["libm", "math"]
license = "MIT OR Apache-2.0"
name = "libm"
readme = "README.md"
repository = "https://github.com/rust-lang/libm"
version = "0.2.8"
edition = "2018"
exclude = ["/ci/", "/.github/workflows/"]

[features]
default = []

# This tells the compiler to assume that a Nightly toolchain is being used and
# that it should activate any useful Nightly things accordingly.
unstable = []

# Generate tests which are random inputs and the outputs are calculated with
# musl libc.
musl-reference-tests = ['rand']

[workspace]
members = [
  "crates/compiler-builtins-smoke-test",
  "crates/libm-bench",
]

[dev-dependencies]
no-panic = "0.1.8"

[build-dependencies]
rand = { version = "0.6.5", optional = true }

# This is needed for no-panic to correctly detect the lack of panics
[profile.release]
lto = "fat"