Bert Belder
3ff240b963
third_party: add rust crate 'serde_derive'
2019-05-16 20:51:47 -07:00
Bert Belder
e9c9d71633
third_party: upgrade rust crates
2019-05-16 20:43:23 -07:00
Bert Belder
3d6f0a85af
build: add support for rust proc-macro crates
2019-05-16 20:33:25 -07:00
Bert Belder
6ab2c350b7
build: forward rustc '--cfg' flags correctly
2019-05-16 19:55:45 -07:00
Bert Belder
c0341cb1af
third_party: upgrade rust crates
2019-05-11 05:03:03 +02:00
Kevin (Kun) "Kassimo" Qian
7237e9d34a
fs: add Deno.utime/Deno.utimeSync ( #2241 )
2019-05-01 05:08:11 -04:00
Bert Belder
6caf865507
third_party: upgrade rust crates
2019-04-23 18:01:57 +02:00
Bert Belder
90c2b10f47
Add cli dependency on tokio-rustls
2019-04-17 14:02:20 +02:00
Bert Belder
97f0fe7437
third_party: upgrade rust crates
2019-04-15 18:56:29 +02:00
Ryan Dahl
4232c89c9e
Use -O3 instead of -O ( #2070 )
...
As recommended in
https://www.reddit.com/r/rust/comments/balb45/why_is_hypers_max_latency_so_high_in_deno/ekck1ww/
2019-04-07 22:28:28 -04:00
Bert Belder
ff1c80d6d8
third_party: add rust crate 'clap'
2019-03-31 17:55:03 -04:00
Bert Belder
3d6c033369
third_party: upgrade rust crates
2019-03-29 14:50:07 -04:00
Bert Belder
d4e3bf945d
third_party: upgrade rust crates
2019-02-27 10:24:22 -08:00
Yoshiya Hinosawa
142aedd329
remove unnecessary build opt ( #1783 )
2019-02-15 11:06:26 -05:00
Bert Belder
9240f9b57f
third_party: upgrade rust crates
2019-02-12 09:30:36 -08:00
Bert Belder
f22e0d72c5
third_party: add the 'regex' crate
2019-02-07 14:46:52 -08:00
Dmitry Sharshakov
5c50d2819b
Add emojis to permission prompts ( #1684 )
2019-02-07 16:19:50 -05:00
Bert Belder
c03ff8556b
third_party: add the 'integer-atomics' crate
2019-01-26 16:32:03 +01:00
Bert Belder
d3e5a13201
third_party: force all crates to use the latest version of rand_core
2019-01-26 16:32:03 +01:00
Bert Belder
6ad2e001b4
third_party: upgrade rust crates
2019-01-26 16:32:02 +01:00
Yoshiya Hinosawa
77114fbda4
chore: update license lines ( #1557 )
2019-01-21 13:03:30 -06:00
Andy Hayden
526fdac053
Update to rust 2018 edition
2019-01-14 22:30:04 +01:00
Bert Belder
8039e2a55a
third_party: upgrade rust crates, now with --edition 2018
support
2019-01-14 05:03:14 +01:00
Bert Belder
9e9550ceea
third_party: upgrade rust crates
2019-01-14 02:18:19 +01:00
Bert Belder
0cdcefdcc7
build: bring rustc --cfg flag support back
2019-01-14 02:18:18 +01:00
Ryan Dahl
bc2c808da1
Upgrade crates ( #1471 )
2019-01-07 10:36:08 -05:00
Ryan Dahl
63d558da0c
Use flatbuffers from crates.io ( #1400 )
2018-12-23 12:39:40 -05:00
Bert Belder
838d14a589
build: build rustls with the same features between gn/ninja and cargo
2018-12-19 12:19:44 +01:00
Goffert van Gool
40d6daf824
Read version from Cargo.toml ( #1267 )
2018-12-13 16:16:58 -05:00
Ryan Dahl
c113df1bb8
Process source maps in Rust instead of JS ( #1280 )
...
- 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-12-06 23:05:36 -05:00
Ryan Dahl
3846384888
Upgrade Rust crates
2018-11-30 15:07:13 -08:00
Ryan Dahl
c5d8cf8eb6
Use pylint.
2018-11-30 11:33:45 -08:00
Ryan Dahl
1ac2934604
Make //build a git submodule
...
So we can float patches before sending them upstream.
https://github.com/denoland/chromium_build
Remove build_extra/toolchain
2018-11-29 23:12:38 -08:00
Ryan Dahl
84a1b4d793
Move libdeno build config to libdeno/BUILD.gn
2018-11-29 17:46:09 -08:00
Ryan Dahl
ea4580f337
Fix mac debug build.
2018-11-29 17:46:09 -08:00
Ryan Dahl
65cce40a89
gitignore vim .swp files
2018-11-27 15:47:31 -08:00
Andy Hayden
27ecfc1617
Add repl ( #998 )
...
- Running repl from js side.
- Add tests for repl behavior.
- Handle ctrl-C and ctrl-D.
2018-11-05 09:55:59 -08:00
Bert Belder
b9914c3113
third_party: add tokio-process Rust crate and its dependencies
2018-11-03 07:42:24 +01:00
Bert Belder
a244c16270
third_party: upgrade Rust crates
2018-11-03 07:22:04 +01:00
Bert Belder
a4b5146157
build: infer label name for versioned Rust crates
2018-11-03 07:18:10 +01:00
Bert Belder
ec17239f46
cargo: build in Cargo's out dir if DENO_BUILD_PATH is not set
...
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-11-01 14:18:18 +01:00
Ryan Dahl
198e396ead
Support cargo check ( #1128 )
...
- 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-31 11:11:10 -07:00
Ryan Dahl
7c82667f75
Upgrade Flatbuffers. ( #1127 )
...
Use msg_generated.rs as mod instead of crate.
2018-10-31 00:32:42 -07:00
Ryan Dahl
6adc87e3eb
Ergonomics: Prompt TTY for permission escalation ( #1081 )
2018-10-27 06:11:39 -07:00
Ryan Dahl
59acd8d1ac
Turn on treat_warnings_as_errors ( #1086 )
...
Fixes #374
2018-10-25 17:05:59 -07:00
Bert Belder
00e4f7cf83
build: fix compatibility with rustc 1.30.0
...
Additionally:
* Rebuild rust crates when the rustc version changes.
* Fetch all rust ldflags in one exec_script() call instead of two.
2018-10-25 22:48:08 +02:00
Kevin (Kun) "Kassimo" Qian
988ec88dd0
Switch to getopts for flag parsing ( #1080 )
2018-10-23 21:02:43 -07:00
Bert Belder
edb7b609f2
build: clean up the gn template for rust targets a bit
2018-10-20 07:20:07 +02:00
Ryan Dahl
00884d7164
Add rustfmt to third_party.
2018-10-20 01:19:59 -04:00
Ryan Dahl
6e6deed12d
Upgrade crates
2018-10-19 21:42:23 -04:00