diff --git a/Meta/Lagom/Tools/LibJSGCVerifier/README.md b/Meta/Lagom/Tools/LibJSGCVerifier/README.md index 9e0545f14d..18a3590bd8 100644 --- a/Meta/Lagom/Tools/LibJSGCVerifier/README.md +++ b/Meta/Lagom/Tools/LibJSGCVerifier/README.md @@ -7,9 +7,18 @@ two things: - For all types not wrapped by `GCPtr` or `NonnullGCPtr`, that the wrapped type does not inherit from `Cell` (otherwise it should be wrapped). -Usage: +This tool currently requires having first built Serenity with the Clang toolchain for x86_64: +```bash +./Meta/serenity.sh build x86_64 Clang ``` + +Once Serenity is built, this tool can be built with: +```bash cmake -GNinja -B build cmake --build build +``` + +Then run the tool with: +```bash src/main.py -b /Build ``` diff --git a/Meta/Lagom/Tools/LibJSGCVerifier/src/main.py b/Meta/Lagom/Tools/LibJSGCVerifier/src/main.py index e8d1fc2616..a96cd14bb1 100755 --- a/Meta/Lagom/Tools/LibJSGCVerifier/src/main.py +++ b/Meta/Lagom/Tools/LibJSGCVerifier/src/main.py @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/usr/bin/env python3 import argparse import multiprocessing