summaryrefslogtreecommitdiff
path: root/build_extra
AgeCommit message (Collapse)Author
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-08-02Source map support (#429)Ryan Dahl
This change increases size: out/debug/obj/libdeno/from_snapshot.o 19M -> 34M out/release/deno 32M -> 47M
2018-08-01Optimize compile time by using asm.Ryan Dahl
Switches to using asm incbin to embed the V8 snapshot instead of outputing C code and then compiling it. Compile time for from_snapshot.o goes from 44s to 1s.
2018-08-01build: use compiled_action for create_snapshot.Ryan Dahl
Switch the order of the snapshot_creator args, in order to allow for optional source map arg.
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-29spellingRyan 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-08Clean up tools/Ryan Dahl
- Factor out tools/util.py - Move js/*.py to tools. - Rewrite tools/format.sh in python. - Run lint first in travis.
2018-07-07Move flatbuffers gn files to //build_extra/flatbuffersRyan Dahl
Fixes #342.
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++.