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

Add ability to disable or force system libffi and fix stdcall on Win32 #669

Merged
merged 6 commits into from Feb 18, 2019

Commits on Jan 23, 2019

  1. Allow to forcibly enable/disable system libffi

    This lets the user select if system or builtin libffi version shall be used.
    Default is still "try system libffi and fallback to builtin".
    
    The option can be used like so:
        gem install ffi -- --disable-system-libffi
    
    Primary use is to run specs on builtin libffi on Windows in addition to
    system libffi.
    larskanis committed Jan 23, 2019
    Copy the full SHA
    f095977 View commit details
    Browse the repository at this point in the history
  2. Update rake dependency to avoid warning on ruby-head

    rake-10.5.0/lib/rake/application.rb:381: warning: deprecated Object#=~ is called on Proc; it always returns nil
    larskanis committed Jan 23, 2019
    Copy the full SHA
    35049d3 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Add task "libffi" to trigger download of the submodule

    ... and use it in Appveyor-CI.
    larskanis committed Jan 24, 2019
    Copy the full SHA
    9e30098 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    52927e7 View commit details
    Browse the repository at this point in the history
  3. Fix stdcall closure on Win32

    This temporary switches to a forked libffi, until the fixing PR is merged:
      libffi/libffi#465
    
    Use the following command to update the submodule:
      git submodule update --init --remote
    larskanis committed Jan 24, 2019
    Copy the full SHA
    4fc7647 View commit details
    Browse the repository at this point in the history
  4. Avoid copiler warning at sprintf

    PipeHelperWindows.c:15:5: warning: implicit declaration of function
    'sprintf' [-Wimplicit-function-declaration]
         sprintf( name, "\\\\.\\Pipe\\pipeHelper-%u-%i",
              ^~~~~~~
    larskanis committed Jan 24, 2019
    Copy the full SHA
    da7b3c2 View commit details
    Browse the repository at this point in the history