Ryan Dahl
61f5f25f26
s/rust_component/rust_crate/
2018-08-13 13:27:13 -04:00
Bert Belder
69ee336840
Remove the 'cfg' variable from rust templates
...
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-09 02:20:32 +02:00
Bert Belder
d8cc487a46
Make 'tokio' build on windows, add windows deps
2018-08-09 01:29:32 +02:00
Robby Madruga
58b2362a24
Add 'tokio' and dependencies
...
Use tokio from git.
2018-08-09 01:13:11 +02:00
Ryan Dahl
229e3b80c5
Improve rust build docs
2018-08-03 10:04:12 -04:00
Bert Belder
604a8a640c
Add winapi crate, make 'rand' and 'tempfile' work
2018-07-29 00:22:39 -04:00
Bert Belder
37a4606d29
Add "features" argument to rust components
2018-07-29 00:22:39 -04:00
Ryan Dahl
1f093c12f8
Add sha1 and tempfile crates.
2018-07-29 00:22:39 -04:00
Yoshiya Hinosawa
3563638693
Fix some warnings ( #379 )
2018-07-21 11:00:09 -04:00
Bert Belder
422150c797
Link rust_test targets with external linker, fix handlers_test linkage
2018-07-19 21:55:39 +02:00
robbym
d93bd4b127
Use Cargo to install rust deps into //third_party/rust_crates ( #383 )
2018-07-18 20:00:53 -04:00
Ryan Dahl
2f94c5b48b
Add rust crate log to third_party.
2018-07-18 15:43:50 -04:00
Ryan Dahl
d160de7f44
Add rust url crate. ( #355 )
2018-07-10 14:56:12 -04:00
Ryan Dahl
e269d972d2
Move libc build def to //build_extra/rust
...
This is preperation for adding many more third_party crates.
2018-07-09 16:50:33 -04:00
Ryan Dahl
d30664958e
Further gn/rust cleanups
...
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++.
2018-07-06 10:46:30 -04:00