blob: ec0c003e0c7fd6843c509d9349afd146a608542e [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdio.h>
#include <string>
#include "base/check.h"
#include "base/command_line.h"
#include "codelabs/rust/solutions/exercise_3_cpp_interop/hellocxxlib.rs.h"
int main(int argc, char* argv[]) {
CHECK(base::CommandLine::Init(argc, argv));
printf("Hello from C++!\n");
hello_from_rust();
}