Bert Belder
af3f62eedf
build: enable rust color output on windows
2018-09-24 13:45:03 -07:00
Bert Belder
836fc255ba
Suppress remaining warnings in third party rust crates
2018-09-16 20:57:17 -07:00
Bert Belder
ba8757b44a
build: properly rebuild rust crates when their deps change
2018-09-16 18:37:18 -07:00
Bert Belder
542eb54254
tools: make sha256sum.py more generic and move it to 'tools'
2018-08-29 12:28:11 +02:00
Bert Belder
224cfc8c74
build: fix rust temp file conflicts during parallel build
2018-08-26 19:22:37 +02:00
Yoshiya Hinosawa
0ce7b6e870
chore: introduce rust_treat_warnings_as_errors build arg
2018-08-14 10:51:01 -04:00
Ryan Dahl
02540e559d
Fix transitive rust deps.
...
Use a single out_dir for all rust crates.
2018-08-13 13:27:13 -04:00
Ryan Dahl
2c384f2b07
Use source_set for rust_crate
2018-08-13 13:27:13 -04:00
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
15146ad886
Remove 'rust_staticlib' build template
...
It's not used for anything, nor are we planning to use it.
2018-08-09 02:19:20 +02:00
Bert Belder
4b75dd7cf5
Support building multiple versions of a rust crate
...
This is only to be used in exceptional cases.
Generally we don't allow using multiple versions of a crate.
2018-08-09 01:19:04 +02:00
Ryan Dahl
d8b68648d1
Update repo links to denoland.
2018-08-02 23:12:49 -04:00
Bert Belder
37a4606d29
Add "features" argument to rust components
2018-07-29 00:22:39 -04:00
Ryan Dahl
0213053856
Remove handlers crate target.
...
- 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-24 12:29:54 -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
Ryan Dahl
ad4f335847
Add color to rustc output (except windows)
2018-07-12 17:38:51 -04:00
Bert Belder
4f626098ec
windows: add .exe extension to executable produced by rust_test template
2018-07-10 21:54:56 +02: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
c4d61accf4
Fix rust depfile problem.
...
Fixes #316 .
2018-07-09 16:50:33 -04:00
Ryan Dahl
6bff970d69
Add rust_test to gn build, with working example.
2018-07-07 17:24:46 -04:00
Ryan Dahl
179eeb2b50
s/rust_deps/extern/g
2018-07-06 10:46:30 -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