fix msvc
This commit is contained in:
62
Cargo.toml
Normal file
62
Cargo.toml
Normal file
@@ -0,0 +1,62 @@
|
||||
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||||
#
|
||||
# When uploading crates to the registry Cargo will automatically
|
||||
# "normalize" Cargo.toml files for maximal compatibility
|
||||
# with all versions of Cargo and also rewrite `path` dependencies
|
||||
# to registry (e.g., crates.io) dependencies.
|
||||
#
|
||||
# If you are reading this file be aware that the original Cargo.toml
|
||||
# will likely look very different (and much more reasonable).
|
||||
# See Cargo.toml.orig for the original contents.
|
||||
|
||||
[package]
|
||||
edition = "2024"
|
||||
name = "ruby-comp"
|
||||
version = "0.4.0"
|
||||
authors = [
|
||||
"Uchio Kondo <udzura@udzura.jp>",
|
||||
"Hitoshi Hasumi",
|
||||
"prism developers",
|
||||
]
|
||||
build = "build.rs"
|
||||
include = [
|
||||
"src/lib.rs",
|
||||
"build.rs",
|
||||
"examples/*.rs",
|
||||
"Cargo.toml",
|
||||
"vendor/*",
|
||||
"lib/.keep",
|
||||
]
|
||||
autolib = false
|
||||
autobins = false
|
||||
autoexamples = false
|
||||
autotests = false
|
||||
autobenches = false
|
||||
description = "mruby-compiler2 bindings for Rust"
|
||||
readme = "README.md"
|
||||
license-file = "LICENSE"
|
||||
|
||||
[lib]
|
||||
name = "mruby_compiler2_sys"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[example]]
|
||||
name = "cfunc"
|
||||
path = "examples/cfunc.rs"
|
||||
|
||||
[[example]]
|
||||
name = "smoke"
|
||||
path = "examples/smoke.rs"
|
||||
|
||||
[dependencies.libc]
|
||||
version = "0.2.182"
|
||||
optional = true
|
||||
|
||||
[build-dependencies.bindgen]
|
||||
version = ">= 0"
|
||||
|
||||
[build-dependencies.cc]
|
||||
version = ">= 1"
|
||||
|
||||
[build-dependencies.glob]
|
||||
version = ">= 0"
|
||||
Reference in New Issue
Block a user