summaryrefslogtreecommitdiff
path: root/build_extra/rust
AgeCommit message (Collapse)Author
2018-08-09Remove the 'cfg' variable from rust templatesBert Belder
It's never been used for anything other than enabling crate features. Use the 'features' variable instead, it's more readable and more terse.
2018-08-09Remove 'rust_staticlib' build templateBert Belder
It's not used for anything, nor are we planning to use it.
2018-08-09Make 'tokio' build on windows, add windows depsBert Belder
2018-08-09Support building multiple versions of a rust crateBert Belder
This is only to be used in exceptional cases. Generally we don't allow using multiple versions of a crate.
2018-08-09Add 'tokio' and dependenciesRobby Madruga
Use tokio from git.
2018-08-03Improve rust build docsRyan Dahl
2018-08-02Update repo links to denoland.Ryan Dahl
2018-07-29Add winapi crate, make 'rand' and 'tempfile' workBert Belder
2018-07-29Add "features" argument to rust componentsBert Belder
2018-07-29Add sha1 and tempfile crates.Ryan Dahl
2018-07-24Remove handlers crate target.Ryan Dahl
- Add build scripts for Rust flatbuffers. - Rewrites some reply.cc methods in Rust. - Changes some struct elements to table in msg.fbs (rust flatbuffers lacks support currently) - Renames handlers_test to test_rs. - This reorg is needed to make progress on the code cache handler.
2018-07-24Change copyrights to be 'Deno authors'.Ryan Dahl
2018-07-21Fix some warnings (#379)Yoshiya Hinosawa
2018-07-20Suppress misleading rustc warning when running gn genBert Belder
rustc prints the warning: `-C save-temps` might not produce all requested temporary products when incremental compilation is enabled. However, incremental compilation isn't even enabled. A look at the Rust source code confirms that this warning is indeed printed unconditionally when the `-C save-temps` flag is specified: https://github.com/rust-lang/rust/blob/5f2b325f64ed6caa7179f3e04913db437656ec7e/src/librustc/session/config.rs#L1015-L1018
2018-07-19Link rust_test targets with external linker, fix handlers_test linkageBert Belder
2018-07-18Use Cargo to install rust deps into //third_party/rust_crates (#383)robbym
2018-07-18Add rust crate log to third_party.Ryan Dahl
2018-07-12Add color to rustc output (except windows)Ryan Dahl
2018-07-10windows: add .exe extension to executable produced by rust_test templateBert Belder
2018-07-10Add rust url crate. (#355)Ryan Dahl
2018-07-09Move libc build def to //build_extra/rustRyan Dahl
This is preperation for adding many more third_party crates.
2018-07-09Fix rust depfile problem.Ryan Dahl
Fixes #316.
2018-07-07Add rust_test to gn build, with working example.Ryan Dahl
2018-07-06s/rust_deps/extern/gRyan Dahl
2018-07-06Further gn/rust cleanupsRyan Dahl
Move rust.gni and deno.gni into build_extra/ Removes rust_library which was only an action. This instead defines rust_component, which is an action plus a gn "component" target to expose the resulting object file. This simplifies link code in rust.gni. Support rust modules that can be linked into C++.