Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In ruby/README.md, correct a target name (#15041)
When attempting to run the Ruby tests, I noticed that the README is slightly off; it points to a target that doesn't exist: ``` charles@AlterCation:~/protobuf$ bazel test //ruby/tests/... //ruby:ffi=enabled --test_env=PROTOCOL_BUFFERS_RUBY_IMPLEMENTATION=FFI ERROR: Skipping '//ruby:ffi=enabled': no such target '//ruby:ffi=enabled': target 'ffi=enabled' not declared in package 'ruby' defined by /home/charles/protobuf/ruby/BUILD.bazel (did you mean 'ffi_enabled'? Tip: use `query "//ruby:*"` to see all the targets in that package) ERROR: no such target '//ruby:ffi=enabled': target 'ffi=enabled' not declared in package 'ruby' defined by /home/charles/protobuf/ruby/BUILD.bazel (did you mean 'ffi_enabled'? Tip: use `query "//ruby:*"` to see all the targets in that package) INFO: Elapsed time: 0.679s INFO: 0 processes. ERROR: Build did NOT complete successfully ERROR: Couldn't start the build. Unable to run tests charles@AlterCation:~/protobuf$ ``` Instead, it looks like `//ruby:ffi_enabled` is what you're supposed to use, which sets the flag on: https://github.com/protocolbuffers/protobuf/blob/main/ruby/BUILD.bazel#L28-L30 Closes #15041 COPYBARA_INTEGRATE_REVIEW=#15041 from shaldengeki:ouguoc/fix-ruby-readme-ffi-enabled 245d849 PiperOrigin-RevId: 590501532
- Loading branch information