mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add backwards compatibility to the generated soljson.js for solc-js <0.5.14
Reverts part of edd80a9
This commit is contained in:
parent
d66675602e
commit
ee3a834165
@ -94,6 +94,9 @@ make -j 4
|
|||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
mkdir -p upload
|
mkdir -p upload
|
||||||
|
# Patch soljson.js to provide backwards-compatibility with older emscripten versions
|
||||||
|
# TODO: remove in 0.6.0!
|
||||||
|
echo -n ";/* backwards compatibility */ Module['Runtime'] = Module; Module['Pointer_stringify'] = Module['UTF8ToString'];" >> $BUILD_DIR/libsolc/soljson.js
|
||||||
cp $BUILD_DIR/libsolc/soljson.js upload/
|
cp $BUILD_DIR/libsolc/soljson.js upload/
|
||||||
cp $BUILD_DIR/libsolc/soljson.js ./
|
cp $BUILD_DIR/libsolc/soljson.js ./
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user