File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,12 @@ require C extension support for gems using FFI.
27
27
28
28
## Synchronization
29
29
30
- I use a branch ` truffleruby-specs-$FFI_RELEASE ` on my fork https://github.com/eregon/ffi
31
- which keeps our modifications on top of the FFI release tag we are based on.
32
- ` tool/import-ffi.sh ` from the latest of these branches should synchronize cleanly.
30
+ ` tool/import-ffi.sh ` from the corresponding FFI version should synchronize cleanly.
33
31
34
- In general, changes are done in TruffleRuby first, then I add them to my local ` ffi ` repository
35
- in the ` truffleruby-specs-$FFI_RELEASE ` branch with ` git cherry-pick ` .
36
- This requires ` truffleruby ` to be added as a remote to the ` ffi ` repo:
37
- ``` bash
38
- git remote add truffleruby ../truffleruby-ws/truffleruby
39
- ```
32
+ In general, changes are done in ` ffi ` first, and I copy them to truffleruby via ` tool/import-ffi.sh ` while working on them.
33
+ We should upstream all changes we do to ` ffi ` .
40
34
41
- From there we should of course upstream as many changes as possible to minimize the diff .
35
+ The only diff we should have is in ` src/main/ruby/truffleruby/core/truffle/ffi/pointer_extra.rb ` and it should remain small .
42
36
43
37
## Running Specs in Upstream FFI Repository
44
38
You can’t perform that action at this time.
0 commit comments