mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
Remove 'rust_staticlib' build template
It's not used for anything, nor are we planning to use it.
This commit is contained in:
parent
98e8b102fd
commit
15146ad886
1 changed files with 1 additions and 21 deletions
|
@ -83,10 +83,7 @@ template("run_rustc") {
|
|||
crate_name_and_version = "$crate_name-$crate_version"
|
||||
}
|
||||
|
||||
if (crate_type == "staticlib") {
|
||||
output_file = "$target_out_dir/$crate_name_and_version.a"
|
||||
emit_type = "link"
|
||||
} else if (crate_type == "bin") {
|
||||
if (crate_type == "bin") {
|
||||
output_file = "$target_out_dir/$crate_name_and_version.o"
|
||||
emit_type = "obj"
|
||||
} else if (crate_type == "rlib") {
|
||||
|
@ -246,23 +243,6 @@ template("rust_component") {
|
|||
}
|
||||
}
|
||||
|
||||
template("rust_staticlib") {
|
||||
rust_component(target_name) {
|
||||
forward_variables_from(invoker,
|
||||
[
|
||||
"cfg",
|
||||
"crate_name",
|
||||
"crate_version",
|
||||
"extern",
|
||||
"extern_version",
|
||||
"features",
|
||||
"source_root",
|
||||
"testonly",
|
||||
])
|
||||
crate_type = "staticlib"
|
||||
}
|
||||
}
|
||||
|
||||
template("rust_executable") {
|
||||
bin_name = target_name + "_bin"
|
||||
bin_label = ":" + bin_name
|
||||
|
|
Loading…
Add table
Reference in a new issue