-
Notifications
You must be signed in to change notification settings - Fork 98
/
Cargo.toml
60 lines (50 loc) · 1.53 KB
/
Cargo.toml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
authors = ["Jorge Aparicio <[email protected]>"]
categories = ["no-std"]
description = "libm in pure Rust"
documentation = "https://docs.rs/libm"
keywords = ["libm", "math"]
license = "MIT AND (MIT OR Apache-2.0)"
name = "libm"
readme = "README.md"
repository = "https://github.com/rust-lang/libm"
version = "0.2.11"
edition = "2021"
exclude = ["/ci/", "/.github/workflows/"]
rust-version = "1.63"
[features]
default = ["arch"]
# Enable architecture-specific features such as SIMD or assembly routines.
arch = []
# This tells the compiler to assume that a Nightly toolchain is being used and
# that it should activate any useful Nightly things accordingly.
unstable = ["unstable-intrinsics"]
# Enable calls to functions in `core::intrinsics`
unstable-intrinsics = []
# Make some internal things public for testing.
unstable-test-support = []
# Used to prevent using any intrinsics or arch-specific code.
#
# HACK: this is a negative feature which is generally a bad idea in Cargo, but
# we need it to be able to forbid other features when this crate is used in
# Rust dependencies. Setting this overrides all features that may enable
# hard float operations.
force-soft-floats = []
[workspace]
resolver = "2"
members = [
"crates/compiler-builtins-smoke-test",
"crates/libm-macros",
"crates/libm-test",
"crates/musl-math-sys",
]
default-members = [
".",
"crates/libm-macros",
"crates/libm-test",
]
[dev-dependencies]
no-panic = "0.1.30"
# This is needed for no-panic to correctly detect the lack of panics
[profile.release]
lto = "fat"