-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Port FlatBuffers to Rust #4898
Merged
Merged
Port FlatBuffers to Rust #4898
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
93f9162
Port FlatBuffers to Rust: generator/runtime/tests.
rw 66c6440
add idl_gen_rust.cpp to BUILD
rw d608827
remove the duplicate function `fill` and add some inline attributes
rw 596017e
add comment in docs that Rust might add a verifier in the future
rw 38b264c
generate tests/monsterdata_rust_wire.mon during rust tests (and gitig…
rw 80725be
add rust to flatbuffers.md docs
rw 129dd2d
docs
rw a865717
simplify nested asserts
rw 2ed43e0
refactor vtable writing
rw 9499632
remove duplicate assert
rw 5138f85
comment
rw 71a5ea4
use size_of for constants
rw 9ea510c
comment
rw 9736b9f
use auto instead of std::string in many places in the rust generator
rw 3e74948
update generate_code.bat with rust
rw 52d43ca
comments on reserved keywords; indentation of union accessors
rw b5b4631
delete test output
rw b5e5096
comment to explain why we do not inline a struct creation
rw 77fb225
refactor some tests with macros
rw 47ebb61
add support column for rust
rw ee51cc0
ergonomics/lifetimes tweaks in builder
rw a78edd0
no more need for ZeroTerminatedByteSlice
rw 67004f3
wip for making Push::size a static method
rw 894fe3e
simplifying push some more
rw fb28cad
delete old test
rw bd33f75
inlining, push
rw a3ef1de
Push::size is static
rw 87cef86
start_vector requires push
rw bd2a5ed
more push/vector typing
rw 36de894
no more phantomdata
rw 3c03f30
good sample and docs
rw 0de4628
add a todo to rust lib
rw 7972b79
regenerate rust test code
rw f070f53
more alignment/size tests
rw 8081c5a
remove dead code
rw acf48d0
doc tweak
rw 4d005c1
revert old typescript file to master
rw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
comment to explain why we do not inline a struct creation
- Loading branch information
commit b5e5096ed285f6d30d90d8bcfa2dcc9fc92b8d76
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inline in the
create
call?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment explaining why we can't do this (the
Args
struct takes a reference to aVec3
so we have to make sure it lives long enough).