[gardening] Fix gcc build of samples/embedder

GCC doesn't like // comments which are not terminated due to \ at
the end of line.

TEST=ci

Change-Id: I9d6188bf1db9358804b488d73bef88ba5e6b4f39
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417220
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Tess Strickland <sstrickl@google.com>
This commit is contained in:
Alexander Markov
2025-03-21 07:40:20 -07:00
committed by Commit Queue
parent 73629e6946
commit 1f90293398
3 changed files with 21 additions and 15 deletions
+7 -5
View File
@@ -1,11 +1,13 @@
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
// Generated with:
// dart pkg/vm/tools/generate_entry_point_shims.dart \
// out/ReleaseX64/gen/samples/embedder/timer_aot.dart.dill \
// samples/embedder/timer
/*
Generated with:
dart pkg/vm/tool/generate_entry_point_shims.dart \
out/ReleaseX64/gen/samples/embedder/timer_aot.dart.dill \
samples/embedder/timer
*/
#include "timer.h"
+7 -5
View File
@@ -1,11 +1,13 @@
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
// Generated with:
// dart pkg/vm/tools/generate_entry_point_shims.dart \
// out/ReleaseX64/gen/samples/embedder/timer_aot.dart.dill \
// samples/embedder/timer
/*
Generated with:
dart pkg/vm/tool/generate_entry_point_shims.dart \
out/ReleaseX64/gen/samples/embedder/timer_aot.dart.dill \
samples/embedder/timer
*/
#ifndef SAMPLES_EMBEDDER_TIMER_H
#define SAMPLES_EMBEDDER_TIMER_H