summaryrefslogtreecommitdiff
path: root/build_extra/rust
AgeCommit message (Collapse)Author
2018-11-30Use pylint.Ryan Dahl
2018-11-29Fix mac debug build.Ryan Dahl
2018-11-05Add repl (#998)Andy Hayden
- Running repl from js side. - Add tests for repl behavior. - Handle ctrl-C and ctrl-D.
2018-11-03third_party: add tokio-process Rust crate and its dependenciesBert Belder
2018-11-03third_party: upgrade Rust cratesBert Belder
2018-11-03build: infer label name for versioned Rust cratesBert Belder
2018-11-01cargo: build in Cargo's out dir if DENO_BUILD_PATH is not setBert Belder
Plus some minor improvements and clean-ups: * Resolve DENO_BUILD_PATH to an absolute path if necessary. * Rename DENO_BUILD_PATH to GN_OUT_DIR in places where it is supposed to be set by the build system (and not a user configuration variable). * Output Cargo `rerun-if-*-changed` instructions first, so even if the build itself fails, configuration changes will still trigger a re-run of build.rs. * Remove TODOs that are impossible. * Re-run build.rs when the flatbuffer definition file changes.
2018-10-31Support cargo check (#1128)Ryan Dahl
- Based on code from @qti3e and @piscisaureus in #724 and #1125 respectively. - TODO The DENO_BUILD_PATH env var must be supplied and must be an absolute path, this restriction should be removed in future work.
2018-10-31Upgrade Flatbuffers. (#1127)Ryan Dahl
Use msg_generated.rs as mod instead of crate.
2018-10-27Ergonomics: Prompt TTY for permission escalation (#1081)Ryan Dahl
2018-10-25Turn on treat_warnings_as_errors (#1086)Ryan Dahl
Fixes #374
2018-10-25build: fix compatibility with rustc 1.30.0Bert Belder
Additionally: * Rebuild rust crates when the rustc version changes. * Fetch all rust ldflags in one exec_script() call instead of two.
2018-10-23Switch to getopts for flag parsing (#1080)Kevin (Kun) "Kassimo" Qian
2018-10-20build: clean up the gn template for rust targets a bitBert Belder
2018-10-20Add rustfmt to third_party.Ryan Dahl
2018-10-19Upgrade cratesRyan Dahl
2018-10-19Disable warning on linux.Ryan Dahl
2018-10-10Upgrade hyper-rustlsRyan Dahl
This removes tokio-core, which was deprecated.
2018-09-26build: add support for rustc_wrapperBert Belder
Fixes #690.
2018-09-26build: let rustc pick filenames, remove rust depfile hackBert Belder
Fixes #787.
2018-09-24build: enable rust color output on windowsBert Belder
2018-09-17Upgrade rust crates.Ryan Dahl
2018-09-16Suppress remaining warnings in third party rust cratesBert Belder
2018-09-16Add the 'dirs' crate, enable the required 'winapi' featuresKevin (Kun) "Kassimo" Qian
2018-09-16build: properly rebuild rust crates when their deps changeBert Belder
2018-09-03Upgrade flatbuffersRyan Dahl
2018-08-30Support https imports.Ryan Dahl
Adds hyper-rustls to the build. Use ring for sha1 instead of "ssh1" crate. Fixes #528.
2018-08-30Downgrading tokio to registry version.Ryan Dahl
Prep for rustls.
2018-08-30Fix warnings.Ryan Dahl
Ref #374
2018-08-29tools: make sha256sum.py more generic and move it to 'tools'Bert Belder
2018-08-26build: fix rust temp file conflicts during parallel buildBert Belder
2018-08-20Add hyper dependenciesThomas Ghysels
2018-08-18Add an error message if rustc is not installedAndy Hayden
2018-08-14chore: introduce rust_treat_warnings_as_errors build argYoshiya Hinosawa
2018-08-13Fix transitive rust deps.Ryan Dahl
Use a single out_dir for all rust crates.
2018-08-13Use source_set for rust_crateRyan Dahl
2018-08-13s/rust_component/rust_crate/Ryan Dahl
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