mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
16 lines
531 B
JavaScript
16 lines
531 B
JavaScript
'use strict';
|
|
|
|
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "(bufferutil|sharp)" }] */
|
|
|
|
describe('Require-time checks', function () {
|
|
/**
|
|
Including sharp alongside another C++ module that does not require
|
|
-stdlib=libc++ (for its C++11 features) has caused clang/llvm to
|
|
segfault due to the use of static function variables.
|
|
*/
|
|
it('Require alongside C++ module that does not use libc++', function () {
|
|
const bufferutil = require('bufferutil');
|
|
const sharp = require('../../index');
|
|
});
|
|
});
|