summaryrefslogtreecommitdiff
path: root/build_extra/rust/rust.gni
AgeCommit message (Collapse)Author
2019-09-06Remove tools/build.py (#2865)Ryan Dahl
Testing regression: ASAN build removed.
2019-08-29Revert "Use -O3 instead of -O (#2070)"Bert Belder
It didn't deliver the expected performance improvements, so let's go back and use Rust defaults again. This reverts commit 4232c89c9eb18b32a6e87bfbb46c8d5862f52fb3.
2019-08-29build: make it possible to pass arbitrary env vars to rustcBert Belder
2019-08-22build: add 'cap_lints' flag for rust cratesBert Belder
Using a specialized flag rather than the generic 'args' option makes build_extra/rust/BUILD.gn shorter and more readable.
2019-08-22build: remove per-crate 'treat_warnings_as_errors' gn flagBert Belder
2019-08-22build: support rust crates that generate sources in their build scriptBert Belder
2019-08-02build: support crate imports using an alias nameBert Belder
A crate can assign an alternative name, different from the crate name, when importing another crate. On the command line this looks like: rustc ... --extern foo_crate=path/to/bar_crate.rlib We need to support this so we can eventually upgrade to rand-0.7.x.
2019-05-16build: add support for rust proc-macro cratesBert Belder
2019-05-16build: forward rustc '--cfg' flags correctlyBert Belder
2019-04-07Use -O3 instead of -O (#2070)Ryan Dahl
As recommended in https://www.reddit.com/r/rust/comments/balb45/why_is_hypers_max_latency_so_high_in_deno/ekck1ww/
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-14Update to rust 2018 editionAndy Hayden
2019-01-14build: bring rustc --cfg flag support backBert Belder
2018-12-13Read version from Cargo.toml (#1267)Goffert van Gool
2018-11-03build: infer label name for versioned Rust cratesBert Belder
2018-10-31Upgrade Flatbuffers. (#1127)Ryan Dahl
Use msg_generated.rs as mod instead of crate.
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-20build: clean up the gn template for rust targets a bitBert Belder
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-16Suppress remaining warnings in third party rust cratesBert Belder
2018-09-16build: properly rebuild rust crates when their deps changeBert Belder
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-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-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-02Update repo links to denoland.Ryan Dahl
2018-07-29Add "features" argument to rust componentsBert Belder
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-21Fix some warnings (#379)Yoshiya Hinosawa
2018-07-19Link rust_test targets with external linker, fix handlers_test linkageBert Belder
2018-07-12Add color to rustc output (except windows)Ryan Dahl
2018-07-10windows: add .exe extension to executable produced by rust_test templateBert Belder
2018-07-10Add rust url crate. (#355)Ryan Dahl
2018-07-09Move libc build def to //build_extra/rustRyan Dahl
This is preperation for adding many more third_party crates.
2018-07-09Fix rust depfile problem.Ryan Dahl
Fixes #316.
2018-07-07Add rust_test to gn build, with working example.Ryan Dahl
2018-07-06s/rust_deps/extern/gRyan Dahl
2018-07-06Further gn/rust cleanupsRyan Dahl
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++.