forked from mmtk/mmtk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (39 loc) · 1.3 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
[package]
name = "mmtk_ruby"
version = "0.1.0"
authors = [
"Kunshan Wang <[email protected]>",
"Angus Atkinson <[email protected]>",
]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# Metadata for the Ruby repository
[package.metadata.ci-repos.ruby]
repo = "mmtk/ruby" # This is used by actions/checkout, so the format is "owner/repo", not URL.
rev = "e173f879e6e4f1566cca83513e7bfeb4f39331a8"
[lib]
name = "mmtk_ruby"
# be careful - Link-Time Optimisation (LTO) is only allowed for certain crate types
crate-type = ["cdylib", "staticlib"]
[profile.release]
lto = true
[dependencies]
# Definitions for interoperating with C code on the ruby side
libc = "0.2"
lazy_static = "1.1"
log = "0.4.14"
env_logger = "0.10.0"
once_cell = "1.17.0"
atomic_refcell = "0.1.9"
probe = "0.5"
[dependencies.mmtk]
features = ["is_mmtk_object", "object_pinning"]
# Uncomment the following lines to use mmtk-core from the official repository.
git = "https://github.com/mmtk/mmtk-core.git"
rev = "5ab62f96c006475285b00b6d20a8b1bf83b74a4d"
# Uncomment the following line to use mmtk-core from a local repository.
#path = "../../mmtk-core"
[features]
default = []
# When moving an object, clear its original copy.
clear_old_copy = []