<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool/mkconfig.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 3a7367ccc319499127ead147e5a08f769e44208e: [Backport #19403]</title>
<updated>2023-02-07T06:15:17+00:00</updated>
<author>
<name>NARUSE, Yui</name>
<email>naruse@airemix.jp</email>
</author>
<published>2023-02-07T06:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3decf7df6f678ff6386c5c1888642d76f49dc147'/>
<id>3decf7df6f678ff6386c5c1888642d76f49dc147</id>
<content type='text'>
	mkconfig: Map `includedir` only for system ruby

	Only when installing to the system path on macOS, prepend '$(SDKROOT)'
	and remap `includedir`.
	Fix https://github.com/rbenv/ruby-build/discussions/2123
	---
	 test/mkmf/test_config.rb | 4 ++--
	 test/test_rbconfig.rb    | 9 ---------
	 tool/mkconfig.rb         | 4 +++-
	 3 files changed, 5 insertions(+), 12 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	mkconfig: Map `includedir` only for system ruby

	Only when installing to the system path on macOS, prepend '$(SDKROOT)'
	and remap `includedir`.
	Fix https://github.com/rbenv/ruby-build/discussions/2123
	---
	 test/mkmf/test_config.rb | 4 ++--
	 test/test_rbconfig.rb    | 9 ---------
	 tool/mkconfig.rb         | 4 +++-
	 3 files changed, 5 insertions(+), 12 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>mkconfig.rb: take CPU name from arch flag</title>
<updated>2022-11-04T09:19:30+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-11-04T09:19:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ed9d7612172e12f515cb79088efe45267a062276'/>
<id>ed9d7612172e12f515cb79088efe45267a062276</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Move :nodoc: so rdoc finds `RbConfig.ruby`</title>
<updated>2022-04-25T18:28:39+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2022-04-25T18:28:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b989c7c6ac23f0edb2348b359af9825c39e90bde'/>
<id>b989c7c6ac23f0edb2348b359af9825c39e90bde</id>
<content type='text'>
Rdoc [build] of `master` did not have this method but the reference manual [did].

[build]: https://docs.ruby-lang.org/en/master/RbConfig.html
[did]: https://docs.ruby-lang.org/ja/master/class/RbConfig.html#S_RUBY</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rdoc [build] of `master` did not have this method but the reference manual [did].

[build]: https://docs.ruby-lang.org/en/master/RbConfig.html
[did]: https://docs.ruby-lang.org/ja/master/class/RbConfig.html#S_RUBY</pre>
</div>
</content>
</entry>
<entry>
<title>Add ABI version to RUBY_LIB_VERSION</title>
<updated>2022-02-24T14:18:01+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2022-02-22T21:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9bd4b2ab14eea3df392f4531887fcc1c59291d02'/>
<id>9bd4b2ab14eea3df392f4531887fcc1c59291d02</id>
<content type='text'>
This commit adds the ABI version as build metadata to
RUBY_LIB_VERSION. This will ensure that gems are installed in a path
with the ABI version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the ABI version as build metadata to
RUBY_LIB_VERSION. This will ensure that gems are installed in a path
with the ABI version.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #18249] Implement ABI checking</title>
<updated>2022-02-22T14:55:21+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2022-02-18T15:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3df16924b45adfd88c20ef5fe25b10a1acb82dd7'/>
<id>3df16924b45adfd88c20ef5fe25b10a1acb82dd7</id>
<content type='text'>
Header file include/ruby/internal/abi.h contains RUBY_ABI_VERSION which
is the ABI version. This value should be bumped whenever an ABI
incompatible change is introduced.

When loading dynamic libraries, Ruby will compare its own
`ruby_abi_version` and the `ruby_abi_version` of the loaded library. If
these two values don't match it will raise a `LoadError`. This feature
can also be turned off by setting the environment variable
`RUBY_RUBY_ABI_CHECK=0`.

This feature will prevent cases where previously installed native gems
fail in unexpected ways due to incompatibility of changes in header
files. This will force the developer to recompile their gems to use the
same header files as the built Ruby.

In Ruby, the ABI version is exposed through
`RbConfig::CONFIG["ruby_abi_version"]`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Header file include/ruby/internal/abi.h contains RUBY_ABI_VERSION which
is the ABI version. This value should be bumped whenever an ABI
incompatible change is introduced.

When loading dynamic libraries, Ruby will compare its own
`ruby_abi_version` and the `ruby_abi_version` of the loaded library. If
these two values don't match it will raise a `LoadError`. This feature
can also be turned off by setting the environment variable
`RUBY_RUBY_ABI_CHECK=0`.

This feature will prevent cases where previously installed native gems
fail in unexpected ways due to incompatibility of changes in header
files. This will force the developer to recompile their gems to use the
same header files as the built Ruby.

In Ruby, the ABI version is exposed through
`RbConfig::CONFIG["ruby_abi_version"]`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of exponential backtracks found by CodeQL</title>
<updated>2021-10-29T17:22:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-10-29T15:40:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=99c60d4b25040d712fbed2ffcc8e1044c5e0fe07'/>
<id>99c60d4b25040d712fbed2ffcc8e1044c5e0fe07</id>
<content type='text'>
Since these regexps are used at build/installation, they are not
vulnerabilities.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since these regexps are used at build/installation, they are not
vulnerabilities.
</pre>
</div>
</content>
</entry>
<entry>
<title>mkconfig.rb: Update around SDKROOT</title>
<updated>2021-04-15T05:55:22+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-04-15T03:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fd978621ccbc9519afc05ad031ba2518e9a6f379'/>
<id>fd978621ccbc9519afc05ad031ba2518e9a6f379</id>
<content type='text'>
c.f. https://opensource.apple.com/source/ruby/ruby-145.40.1/patches/tool_mkconfig.rb.diff

* moved to "includedir" from "oldincludedir".
* honor "$(prefix)/include" if exists, otherwise fallback to `xcrun`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
c.f. https://opensource.apple.com/source/ruby/ruby-145.40.1/patches/tool_mkconfig.rb.diff

* moved to "includedir" from "oldincludedir".
* honor "$(prefix)/include" if exists, otherwise fallback to `xcrun`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `RbConfig::CONFIG["platform"]`</title>
<updated>2021-03-21T15:20:27+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-03-21T15:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5e2e8ad9a9d7b5b705d755f203d04a76236c5870'/>
<id>5e2e8ad9a9d7b5b705d755f203d04a76236c5870</id>
<content type='text'>
Means the platform with the actual CPU info on universal binary.
The CPU in "arch" is fixed as "universal" to refer the header and
library paths.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Means the platform with the actual CPU info on universal binary.
The CPU in "arch" is fixed as "universal" to refer the header and
library paths.
</pre>
</div>
</content>
</entry>
<entry>
<title>rbconfig.rb: extract cpu from RUBY_PLATFORM when universal</title>
<updated>2021-01-07T05:55:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-01-07T05:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=96ce1d9a0ff64494753ad4730f36a0cd7e7a89e7'/>
<id>96ce1d9a0ff64494753ad4730f36a0cd7e7a89e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Updated module name [ci skip]</title>
<updated>2020-03-30T06:53:55+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-03-30T06:51:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9552fa9c0d02e3c1dc618c3de6ba565ec05bb68f'/>
<id>9552fa9c0d02e3c1dc618c3de6ba565ec05bb68f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
