summaryrefslogtreecommitdiff
path: root/build_extra/rust
AgeCommit message (Collapse)Author
2019-01-14Update to rust 2018 editionAndy Hayden
2019-01-14third_party: upgrade rust crates, now with `--edition 2018` supportBert Belder
2019-01-14third_party: upgrade rust cratesBert Belder
2019-01-14build: bring rustc --cfg flag support backBert Belder
2019-01-07Upgrade crates (#1471)Ryan Dahl
2018-12-23Use flatbuffers from crates.io (#1400)Ryan Dahl
2018-12-19build: build rustls with the same features between gn/ninja and cargoBert Belder
2018-12-13Read version from Cargo.toml (#1267)Goffert van Gool
2018-12-06Process source maps in Rust instead of JS (#1280)Ryan Dahl
- Improves speed and binary size significantly. - Makes deno_last_exception() output a JSON structure. - Isolate::execute and Isolate::event_loop now return structured, mapped JSError objects on errors. - Removes libdeno functions: libdeno.setGlobalErrorHandler() libdeno.setPromiseRejectHandler() libdeno.setPromiseErrorExaminer() In collaboration with Ryan Dahl.
2018-11-30Upgrade Rust cratesRyan Dahl
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