Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flatbuffers work in TS/C++. Demonstrate linking rust lib into deno_cc. #334

Merged
merged 2 commits into from
Jul 6, 2018

Conversation

ry
Copy link
Member

@ry ry commented Jul 5, 2018

depends on #337

@ry ry force-pushed the deno_cc_load branch 3 times, most recently from eb548a8 to fd124fe Compare July 6, 2018 15:34
@ry ry force-pushed the deno_cc_load branch 2 times, most recently from 83a9c96 to 1207f52 Compare July 6, 2018 18:41
@ry ry changed the title [WIP] import runtime files from prototype, work towards running first scripts. Use parse and serialize flatbuffers in TS/C++. Demonstrate linking rust lib into deno_cc. Jul 6, 2018
@ry ry requested a review from piscisaureus July 6, 2018 18:42
@ry
Copy link
Member Author

ry commented Jul 6, 2018

@piscisaureus PTAL

@ry ry changed the title Use parse and serialize flatbuffers in TS/C++. Demonstrate linking rust lib into deno_cc. More flatbuffers work in TS/C++. Demonstrate linking rust lib into deno_cc. Jul 6, 2018
- Port protobuf messages to flatbuffers.
- Demo linking to rust from C++ executable.
- Start using the prototype TS libraries.
@@ -8,6 +8,9 @@ import("//build_extra/rust/rust.gni")
config("deno_config") {
include_dirs = [ "third_party/v8" ] # This allows us to v8/src/base/ libraries.
configs = [ "third_party/v8:external_config" ]
if (is_debug) {
defines = [ "DEBUG" ]
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the DCHECK below

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surprising that DEBUG wasn't already set...

Copy link
Member

@piscisaureus piscisaureus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed up to a certain level -- lot of open ends... But let's land it.

@@ -8,6 +8,9 @@ import("//build_extra/rust/rust.gni")
config("deno_config") {
include_dirs = [ "third_party/v8" ] # This allows us to v8/src/base/ libraries.
configs = [ "third_party/v8:external_config" ]
if (is_debug) {
defines = [ "DEBUG" ]
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surprising that DEBUG wasn't already set...

@ry ry merged commit 9778ece into master Jul 6, 2018
@ry ry deleted the deno_cc_load branch August 5, 2018 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants