From 509b858f15e4d78b019c5da654f29072e96de0ee Mon Sep 17 00:00:00 2001 From: Gae24 <96017547+Gae24@users.noreply.github.com> Date: Fri, 12 Apr 2024 10:06:09 +0200 Subject: [PATCH] mach: Remove unused `--angle` command line argument (#32050) * removed unused angle command line argument Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * Removed argument from smoketest in Windows workflows Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> --- .github/workflows/windows.yml | 2 +- ports/servoshell/lib.rs | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9bd9beca5e4..ad749267159 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -90,7 +90,7 @@ jobs: - name: Copy resources run: cp D:\a\servo\servo\resources C:\a\servo\servo -Recurse - name: Smoketest - run: python mach smoketest --angle --${{ inputs.profile }} + run: python mach smoketest --${{ inputs.profile }} - name: Unit tests if: ${{ inputs.unit-tests }} uses: nick-fields/retry@v3 diff --git a/ports/servoshell/lib.rs b/ports/servoshell/lib.rs index 5a99d34a3ed..842b3abfe46 100644 --- a/ports/servoshell/lib.rs +++ b/ports/servoshell/lib.rs @@ -61,11 +61,6 @@ pub fn main() { // Parse the command line options and store them globally let args: Vec = env::args().collect(); let mut opts = Options::new(); - opts.optflag( - "", - "angle", - "Use ANGLE to create a GL context (Windows-only)", - ); opts.optflag( "", "clean-shutdown",